App rejected from App Store due to poor permission check message?

#1

I just published my app to the iOS app store and I got a message back from Apple saying the app was rejected. They said:

“We noticed that your app requests the user’s consent to access the location and camera but does not clarify the use of this feature in the permission modal alert. To resolve this issue, please revise the permission modal alert to specify why the app is requesting access to the location and camera.”

I’m asking for permission the way that is outlined in the docs like:

        const { status } = await Permissions.askAsync(Permissions.CAMERA);
        this.setState({ hasCameraPermission: status === 'granted' });

Is there a way to customize the message in the permission alert? Or am I missing something?

Thanks!

0 Likes

#2

Hi @ewein,

So sorry about this, we tracking the issue here now:

0 Likes

#3

Is there anything I can do in the mean time? This is the only thing holding up my app from publishing to the app store.

0 Likes

#4

you could detach and change the code in expokit itself which controls the message for the alert. (Not the most straightforward task, I realize)

0 Likes

#5

I emailed Apple and mentioned that the app is using Expo and that there currently is no way to customize those messages and they said its fine and allowed it. So its all good.

0 Likes

#6

Updating this old thread: You can now customize these messages in Expo. See documentation.

1 Like

closed #7
0 Likes