0

I have the following 2 permissions being asked when I install the app

  1. Phone calls - read phone status and identity

  2. Your location approximate location (network-based)

I am using "Andengine" and "Swarm-connect" as external libraries in the app. Does andengine require these permissions? How are they getting automatically added to the app even though I haven't declared it in the manifest?

Cœur
  • 37,241
  • 25
  • 195
  • 267
Banned dude
  • 35
  • 1
  • 8
  • If you're using an application, inside one of your own applications and if the app included requires those permissions, they will have to be included in the controlling App as well, as it controls the Application. – g00dy Jul 24 '13 at 11:29
  • By application do you mean libraries like andengine or swarm? – Banned dude Jul 24 '13 at 11:31
  • 1
    Yes, applications, external libraries, just libraries, other external resources etc. if they require those permissions, then you application should also. – g00dy Jul 24 '13 at 11:31
  • So if I just import the library and add it to my java build path as something.jar, it will use the permissions defined in the jar files for my app as well, even if I don't specify those permissions in my manifest? – Banned dude Jul 24 '13 at 11:33
  • 1
    AndEngine doesn't require either of those permissions - must be the Swarm-connect stuff – jmroyalty Jul 24 '13 at 12:01
  • Thanks jmr499485. I just have a clarification. If i import a jar file, those permissions are also imported to my app, even if i dont explictily write them in the manifest? – Banned dude Jul 24 '13 at 12:03
  • No, you have to re-import them in the App, which uses this something.jar, that's for sure ! – g00dy Jul 24 '13 at 12:09
  • Hmm thats the thing. I haven't written these permissions in my manifest, but for some reason its showing up on app install. – Banned dude Jul 24 '13 at 12:11
  • 1
    see http://swarmconnect.com/admin/docs/faq -> that's the cause for your permissions. for the merging problem, look up your .project.properties in eclipse, if manifestmerger.enabled=true is set, that could be the cause of the merge (like mentioned here: http://stackoverflow.com/questions/4457219/library-project-does-the-manifest-file-merge - i m not sure with this one, that's why it's not an answer, just a comment – Christian R. Jul 24 '13 at 14:31

1 Answers1

2

as stated in the questions comments, here is the solution:

see http://swarmconnect.com/admin/docs/faq -> that's the cause for your permissions.

for the merging problem, look up your .project.properties in eclipse, if manifestmerger.enabled=true is set, that could be the cause of the merge (like mentioned here: Library Project does the manifest file merge?

Community
  • 1
  • 1
Christian R.
  • 1,528
  • 9
  • 16