Expo Permissions Module. Experience needs Permissions

Please provide the following:

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

I am using the Expo Permissions module and askAsync Specifically here

  const { status } = await Permissions.askAsync(
    Permissions.CAMERA,
    Permissions.AUDIO_RECORDING,
  );

I also added permissions in the app.json for ios.infoPlist and android.permissions

My question is , the very first time I load my App in the Expo app my native device. It asks me for permissions which is fine. But then you have this odd message

Experience needs Permissions

{my app name} needs permissions for audio recording. You have already granted permission to another
Expo experience. Allow {my app name} to also use it

Is this normal? Like is this happening because I am using it within expo and it’s a sand box environemnt.

So would my message be personalized if I eventually release it. thanks

Hey @sushmeet, yeah this is expected behavior because, as you guessed correctly, running your project in the Expo client (soon to be named Expo Go) is a sandbox env. If you build a standalone app, you’ll only see your. configured permission dialogs.

Cheers,
Adam

1 Like

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