-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asking for permissions in a better way #9
Comments
ADB notes too that
|
Blanket-accept does not work anymore since Android 6.0. You now have to ask for permissions at runtime. |
UPDATE: I traced the permission check/request functions (using debug statements) and here is what happens:
This log, SO and actually just the fact that |
SensibilityActivity
currently tries to ask for all relevant permissions en bloc, but what happens on my Nexus 6 running Android 7.1.1 is that whenever the app gains focus, it asks for the next permission. Thus, to get everything agreed to, I have to change between apps about ten times.However, maybe there isn't a better way to do this on Nougat. On previous Android versions, you could blanket-accept all of an app's permissions at install time...
The text was updated successfully, but these errors were encountered: