TedPermission
TedPermission copied to clipboard
Can't you make "check()" a no-op when all the requested permissions are already granted?
Is there a reason why check()
can't see that all the permissions are granted and do nothing in that case? My activity does onPause()
- onResume()
when I call check ()
even if no actual request is shown (all permissions already granted).
@VioletGiraffe
- If you want only check permission granted, you can use
TedPermission.isGranted()
- And
onPause()
,onResume
lifecycle is normal. If you use original check permission logic, that has same lifecycle