Permissions: CAMERA permission shown to user twice

  1. SDK Version: 37.0.1
  2. Platforms(Android/iOS/web/all): Android

Hi,
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?

Hey @josh2020, can you elaborate on what you mean by “appearing twice”?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.