Permission not working as expected on Android

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

This used to work but stopped working.

This one always returns “denied” on Android in production, and never askes for permission.

var { status } = await ImagePicker.requestMediaLibraryPermissionsAsync();

I used the old way of asking permission before and only had CAMERA_ROLL in permission.

  "expo": {
    "android": {
      "permissions": [

Do I need to publish a new version to the Play Store to have CAMERA take effect.

And can that be the reason for ImagePicker.requestMediaLibraryPermissionsAsync() not working?

I used Permissions.askAsync() but it stoped working.


Yes, that’s correct. You still need to include these permissions in app.json.

The expo team should update the document regarding this.

1 Like

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