Guilherme Berson
Guilherme Berson

Reputation: 13

Android - deny and don't ask again camera permission

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

Answers (1)

snachmsm
snachmsm

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

Related Questions