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
Asked
Active
Viewed 332 times
1
-
Is this helpful: https://stackoverflow.com/questions/30719047/android-m-check-runtime-permission-how-to-determine-if-the-user-checked-nev ? – Dan Baruch Nov 09 '20 at 13:22
1 Answers
1
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

snachmsm
- 17,866
- 3
- 32
- 74