App rejected due to permissions

Hello,
Apple just rejected my app with the following message

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

Next Steps

To resolve this issue, please revise the permission modal alert to specify why the app is requesting access to the user's contacts, calendar, reminders, camera, photos, microphone, and location.

The permission request alert should specify how your app will use this feature to help users understand why your app is requesting access to their personal data.

i am only using the camera and camera roll

    const { status } = await Permissions.askAsync(Permissions.CAMERA)
    const { status: statusRoll } = await Permissions.askAsync(Permissions.CAMERA_ROLL)

and i’ve set this in the config, so i was missing either NSPhotoLibraryAddUsageDescription or NSPhotoLibraryUsageDescription

    "ios": {
      "supportsTablet": false,
      "bundleIdentifier": "com.xx.xxxxx",
      "infoPlist": {
        "NSCameraUsageDescription": "This app uses the camera to allow users to upload their photos as stories."
      }      
    }

BUT i dont understand why they mention ‘to access their contacts, calendar, reminders, camera, photos, microphone, and location’ - i dont ask permission for those or use them ?

incase anyone else has similar issue - i added both

        "NSPhotoLibraryAddUsageDescription"
        "NSPhotoLibraryUsageDescription"

because i was using the cameraroll and didnt give a reason. App has now been approved. Dont know why they mentioned all the other permissions.

Hey @farzd,

Glad you got it resolved. Apple tends to use blanket statements and vague messages often so I’m not too surprised they added all those other permissions in their rejection notes.

Cheers,

Adam

1 Like

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