Reputation: 13
how to verify deny and don't ask again on camera permission android ? I can check when it is denied, but I want to see when the user checks not to ask again
Upvotes: 1
Views: 536
Reputation: 19273
use shouldShowRequestPermissionRationale
method inside onRequestPermissionsResult
, some doc in HERE
another way would be to use PermissionChecker
, flag which may interest you is PERMISSION_DENIED_APP_OP
Upvotes: 1