Can I turn off location usage for Privacy Labels?

I am getting this message when I upload my app to AppStoreConnect even though I do not desire to use location on my app.

ITMS-90683: Missing Purpose String in Info.plist - Your app’s code references one or more APIs that access sensitive user data. The app’s Info.plist file should contain a NSLocationWhenInUseUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string. If you’re using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn’t contain the APIs. Learn more (https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy).

Is it possible for me to turn off using location? Is there any way?

I want to turn this off because I do not want to look like I’m requesting location on the Privacy Labels while I’m not using it.

Thank you.

I bet you are using a Plugin that has Code that required this Location Setting. Please post all the Plugins you use

ionic cordova plugin list (if u use cordova)

I’m using Capacitor. So, I tried the following:

  1. ionic capacitor plugin list and got error [ERROR] Unable to find command: capacitor plugin list
  2. npx cap ls (documented here) and got this
    3.* Found 0 Capacitor plugins for ios:
    Found 0 Cordova plugins for ios**

Are there any other ways to check my plugins?

Since Capacitor 2 includes all the plugins, you have to provide the usage descriptions despite you might not be using the plugins that require those usage descriptions.

In Capacitor 3 we are moved the plugins out, it’s in RC state, so you can start testing it.

3 Likes