PermissionsAndroid pre Android 23, iOS platform #17438
Labels
Ran Commands
One of our bots successfully processed a command.
Stale
There has been a lack of activity on this issue and it may be closed soon.
Is this a bug report?
yes
Have you read the Contributing Guidelines?
yes
Environment
react-native: 0.45.1
Steps to Reproduce
use the react native api example for handling Android run time permissions,
https://facebook.github.io/react-native/docs/permissionsandroid.html#checkpermission
run the example method.
Expected Behavior
PermissionsAndroid
was used.PermissionsAndroid
was used.Actual Behavior
so result is "Camera permission denied".
and no print at all.
i think all these cases should be handled by the api or specified in the example code.
the way to get it working in all three case is by modifying the example code to this:
The text was updated successfully, but these errors were encountered: