You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/04/18 13:26:42 UTC

[GitHub] [cordova-plugin-statusbar] breautek commented on issue #138: iOS location issue on uploading the appstore - ask for NSLocationAlwaysUsageDescription

breautek commented on issue #138: iOS location issue on uploading the appstore - ask for NSLocationAlwaysUsageDescription
URL: https://github.com/apache/cordova-plugin-statusbar/issues/138#issuecomment-484507775
 
 
   The status bar plugin doesn't use or define the requirement of any geolocation features. One of your other plugins must define the Location requirement. Easiest way to determine this is if inside their plugin.xml file they contain `<framework src="CoreLocation.framework" />` in their IOS platform tag.
   
   If you do require geolocation features, then inside your config.xml, you can add the following to define a usage description.
   
   ```
   <edit-config file="*-Info.plist" mode="merge" target="NSLocationWhenInUseUsageDescription">
               <string>This allows TotalPave PCI to center the map to your location to make it easier to select nearby sections.</string>
   </edit-config>
   <edit-config file="*-Info.plist" mode="merge" target="NSLocationAlwaysUsageDescription">
               <string>This allows TotalPave PCI to center the map to your location to make it easier to select nearby sections.</string>
   </edit-config>
   ```
   
   Note that in my experience Apple can be really stingy sometimes. It's not uncommon for me to go back and fourth with Apple to find something that satisfies them yet not make your app appear stupid.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org