Android Library manifest: how much needs to be duplicated?

51 views Asked by At

I have a library project that exports several activities, requires and declares several permissions.

Docs say that imported objects from this library should be redeclared in the application Manifest, but how much of this information do I have to clone?

For example, where to the items in the following list go? Library manifest, app, or both?

  • <uses-permission>
  • <uses-feature>
  • <permission> (creation, not requirement)
  • <activity>
  • <activity> attributes (name, launchMode, screenOrientation, etc)
  • Same with <service>
0

There are 0 answers