iOS - Policy related to Geolocation Modal Message

Hello, everyone.

I’m trying to publish an app for iOS. I’m already in the last step of the process at iTunes Connect, but the app was rejected due to “Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage”, which indicates that I did not specify why do I need the user’s location.

The problem claims that I “do not clarify the use of this feature in the permission modal alert.”, but the indicated modal is not ionic’s, it is from the system, as shown below.

image

I’ve found that I can describe the use of the geolocation plugin in the instalation with GEOLOCATION_USAGE_DESCRIPTION parameter: https://ionicframework.com/docs/native/geolocation/

But it was not enough to make iTunes Connect accept my app, it seems the modal was rejected because of the message itself. I couldn’t find a way to change the message.

May someone help me with this matter?

Thanks in advance!

Experiencing the same issue today when we attempt to deploy to the iOS App Store…

Anyone have a solution?

1 Like

see latest docs about that: https://github.com/apache/cordova-plugin-geolocation#ios-quirks

Hi, right now I’m experiencing the same issue. The message is a bit different: “This app always requires location tracking”.

I have tried the solution and it’s not working for me. I uninstall and install again the geolocation plugin. I tried another variable “NSLocationAlwaysUsageDescription” without luck.

I also use BackgruondGeolocation plugin.

I notice that if i add the entry at the end of it gives me a conflict message when build, no message if it is at the start. It does not work either way.

Please someone help me.

Edit: I am using

@ionic-native/background-geolocation”: “^4.12.2”,
@ionic-native/core”: “~4.11.0”
@ionic-native/geolocation”: “^4.12.0”,

“ionic-angular”: “3.9.2”,

Edit 2: Here is a screen capture of emulator

Ok, it seems I was missing the “NSLocationAlwaysAndWhenInUseUsageDescription” key.

Regards,
Manuel