Access location modal alert and App Review


#1

Hello! I received a message from Apple’s App Review:

We noticed that your app requests the user’s consent to access their 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 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.

Is it possible to edit the text in the modal alert to fix this issue?


#2

Here ya go…

"iOS" : {
    "PList" : {
      "NSLocationUsageDescription": "My specific usage message here",
      "NSLocationAlwaysUsageDescription": "My specific usage message here",
      "NSLocationWhenInUseUsageDescription": "My specific usage message here"
    }
}

#3

Thanks! I added these to the .unoproj, but after building the project to Xcode with “uno build --target=iOS --configuration=Release -adebug” the PList settings were empty. :thinking: Though I fixed this by adding the keys and values manually to Xcode’s project settings.


#4

Maybe you needed an uno clean before rebuilding?


#5

I did surely clean the project before building. Also the bundle identifier is not the same as defined in the .unoproj, but probably that’s to do with the commands and arguments set in the command line for Uno. :man_shrugging:


#6

Strange cos I was able to specify and update all of that in my unoproj.