dpa99c / cordova-custom-config

Cordova/Phonegap plugin to update platform configuration files based on preferences and config-file data defined in config.xml
317 stars 84 forks source link

iOS location issue on uploading the apptore - ask for NSLocationAlwaysUsageDescription #158

Closed yoavpa-tr closed 5 years ago

yoavpa-tr commented 5 years ago

Hi, I got the following message from apple once I uploaded the app to the app store.

Missing Purpose String in Info.plist File - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSLocationAlwaysUsageDescription 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 will be 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).Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):

Does your plugin use the device location / uses an API that uses the device location?

Reproduction

I don't get any error once I build and run the app in debug/release mode. only got the above mail from apple once I uploaded the app to

Additional Information

dpa99c commented 5 years ago

This plugin doesn't insert any configuration or runtime components itself, it merely provides a mechanism by which you can insert your own custom native configuration.

My advice is to go through the plugin directories in your project plugins/ and look at each plugin.xml to determine which is including the iOS CoreLocation framework.

yoavpa-tr commented 5 years ago

Great, thanks!

On Thu, 18 Apr 2019 at 15:58 Dave Alden notifications@github.com wrote:

This plugin doesn't insert any configuration or runtime components itself, it merely provides a mechanism by which you can insert your own custom native configuration.

My advice is to go through the plugin directories in your project plugins/ and look at each plugin.xml to determine which is including the iOS CoreLocation framework.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dpa99c/cordova-custom-config/issues/158#issuecomment-484496273, or mute the thread https://github.com/notifications/unsubscribe-auth/AEMHHJ5VXVZMBAA5M34MUM3PRBWBDANCNFSM4HG4TTSA .