- SDK Version: 37.0.1
- Platforms(Android/iOS/web/all): Android
I have used expo-permissions to ask the user for access to their camera, e.g. Permissions.askAsync(Permissions.CAMERA);
I expect this to reveal an OS modal asking the user to confirm/deny the app access to the camera.
I have noticed on several Android phones and simulators that this modal is appearing twice, only once per install. After the permission is granted/denied, the modal appears to work correctly.
This doesn’t seem to affect:
- other permissions (CAMERA_ROLL works correctly the first time)
- iOS devices (the modal appears only once when CAMERA permission is requested)
Can you please let me know if there is some extra consideration for askAsync that I should take into account? Has anyone else experienced this?