I'm trying to get a list of valid Android permissions. I know the 'official' ones at http://developer.android.com/reference/android/Manifest.permission.html but it seems there are more out there.
For example
android.permission.READ_SETTINGS android.permission.ACCESS_LOCATION android.permission.ACCESS_GPS com.android.vending.CHECK_LICENSE com.android.browser.permission.READ_HISTORY_BOOKMARKS com.android.browser.permission.WRITE_HISTORY_BOOKMARKS com.google.android.googleapps.permission.GOOGLE_AUTH com.google.android.googleapps.permission.GOOGLE_AUTH.OTHER_SERVICES com.google.android.c2dm.permission.RECEIVE
Where can I get such a list? Where do I get a description for these permissions?
To check if the user has already granted your app a particular permission, pass that permission into the ContextCompat. checkSelfPermission() method. This method returns either PERMISSION_GRANTED or PERMISSION_DENIED , depending on whether your app has the permission.
Android defines nine groups of “dangerous” permissions. Each of these dangerous permission groups contains multiple permissions, and approving one permission within a group also approves the other permissions in that same group.
adb shell pm list permissions -s
This might be what you're looking for.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With