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?
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.