Thursday, August 11, 2016

to check android permissions app granted

Dumpsys System Diagnostics

https://source.android.com/devices/tech/debug/dumpsys.html
to see only permissions that were granted (but omitting ones that were requested but not granted) use
adb shell dumpsys package packagename
and check grantedPermissions section at the bottom of the output.
To list all permissions (requested but not granted + requested and granted):
  1. Notice the APK of a package. You can run the same command
    adb shell dumpsys package packagename
    and get the APK path from codePath element of its output.

No comments:

Post a Comment