I am testing my Android application and trying to make sure all permissions (whether granted or denied) are handled correctly. I mistakenly clicked "Never ask again" on a permission and now it never asks me.
I have tried Settings - Apps - Reset App Preferences, but that didn't work.
How can I reset this so that the request permission dialog box comes up again for the permission?
Answer
You need to manually allow the permission on that specific app to reset the request permission dialog.
- Open the App info (either by dragging from app launcher, or Settings - Apps - [app name])
- Select Permissions
- Enable the permission you denied with "never ask again"
- (Optional) Disable it again from here; note that by this time, your app will request the permission again when needed.
No comments:
Post a Comment