Search code examples
androidandroid-permissions

Is there a way I can know which all permission should I ask from a user for google play to accept my app?


I don't exactly know which permissions should I ask for in manifest. Is there a tool where I can put my code and it can tell me exactly which all permissions should I ask for in manifest.

I tried to read the whole code and use google to get to know if permission is required but didn't got much information.

<uses-permission android:name="android.permission.INTERNET"/>

I expect the result should be name of a tool or technique by which I can know which all permission should I ask for so that my application can be approved by google play store.


Solution

  • The manifest permissions have nothing to do with play store acceptance. If a permission isn't asked for in the Manifest and the app tries to use it, the app won't work- the device will either return bad data (for example null), or throw an Exception. The Play Store reports to the user what permissions you've asked for, but it doesn't check your app- the device does.