Search code examples
iosionic-frameworkcordova-plugins

NSLocationWhenInUseUsageDescription in info.plist string value disappearing on build. Ionic framework, Mac OS Yosemite


I'm not quite sure I'm running into this issue but when I build for the ios platform my value for the key NSLocationWhenInUseUsageDescription in my info.plist disappears. Thus I am left with this is in my info.plist:

<key>NSLocationWhenInUseUsageDescription</key>
<string></string>

I am using ngCordova $geoLocation for determing latitude and longitude.

Any one else have this problem?

Thank you.


Solution

  • I got them to stay by configuring the plugin's xml ios section to include the keys and their respective values then including them in the .plist file.