You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The helper hasPermission in Plugin.java just returns true or false. But more values are possible.
Namely:
1 never asked
2 denied, but not forever (android)
3 denied forever (user has to go to settings)
4 granted
The second possibility can be checked on android by calling shouldShowRequestPermissionRationale. The first possibility could be checked by putting the already requested permission to a storage for example.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The helper
hasPermission
inPlugin.java
just returns true or false. But more values are possible.Namely:
1 never asked
2 denied, but not forever (android)
3 denied forever (user has to go to settings)
4 granted
The second possibility can be checked on android by calling
shouldShowRequestPermissionRationale
. The first possibility could be checked by putting the already requested permission to a storage for example.Beta Was this translation helpful? Give feedback.
All reactions