0

I'm using nativescript-vue and nativescript-geolocation plugin.

Apple doesn't approve my app because I don't specify what is the reason for geo tracking upon sending the allow request to the user (see example): enter image description here

As far as I see, there is no such option in nativescript-geolocation to change that message.

Is there any other ways to change this message or perhaps there is a hidden option at nativescript-geolocation that I've missed?

1
  • I believe the reason is specified in your application's manifest, not in code. Check your build process documentation. Commented Aug 4, 2019 at 13:54

1 Answer 1

2

Refer the plugin ReadMe file,

For a custom prompt message on IOS, the following keys are required: NSLocationAlwaysAndWhenInUseUsageDescription (iOS 11.0+) OR NSLocationAlwaysUsageDescription (iOS 8.0-10.0) and NSLocationWhenInUseUsageDescription. Read more about request always usage.

You will add these keys in your App_Resources/iOS/info.plist

<key>NSLocationWhenInUseUsageDescription</key>
<string>Your message here.</string>
Sign up to request clarification or add additional context in comments.

1 Comment

Yup, figured this by now after @dai comment. Thanks!

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.