App rejected due to permissions by App Store

Continuing the discussion from App rejected due to permissions:

I created build using expo build:ios, my application rejected due to permission

> We noticed that your app requests the user’s consent to access their camera and photos but does not clarify the use of this feature in the permission modal alert.

What is solution for this?

Hey @ashishtaskme,

The answer is in the post you linked. You need to configure the "NSPhotoLibraryAddUsageDescription" and "NSPhotoLibraryUsageDescription" usage description strings in your app.json under the `ios.infoPlist. key. https://docs.expo.io/versions/v32.0.0/workflow/configuration/#ios

Cheers,

Adam

1 Like

Thank you so much, I added below configuration in app.json. now my application published on App Store :blush:

"ios": {
      ...
      "infoPlist": {
        "NSCameraUsageDescription":
          "The app needs permission to your camera in order to take photos for upload",
        "NSPhotoLibraryUsageDescription":
          "The app needs permission to your camera roll in order to add photos you've already taken for upload"
      }
    }
1 Like

Glad to hear it!

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