Specify NSLocationWhenInUseUsageDescription in the plugin.xml, not pgm_Localizable.strings
MODIFY
plugin.xml
plugin.xml
@@ -252,6 +252,8 @@ The native map view is faster, use less network usage, display 3D views, and eve
<platform name="ios">
<preference name="API_KEY_FOR_IOS" />
+ <preference name="LOCATION_WHEN_IN_USE_DESCRIPTION" default="This app wants to get your location while this app runs only."/>
+ <preference name="LOCATION_ALWAYS_USAGE_DESCRIPTION" default="This app wants to get your location always, even this app runs in background." />
<js-module name="CordovaGoogleMaps" src="www/googlemaps-cdv-plugin.js">
<clobbers target="plugin.google.maps" />
@@ -374,6 +376,14 @@ The native map view is faster, use less network usage, display 3D views, and eve
<string>$API_KEY_FOR_IOS</string>
</config-file>
+ <config-file target="*-Info.plist" parent="NSLocationWhenInUseUsageDescription">
+ <string>$LOCATION_WHEN_IN_USE_DESCRIPTION</string>
+ </config-file>
+
+ <config-file target="*-Info.plist" parent="NSLocationAlwaysUsageDescription">
+ <string>$LOCATION_ALWAYS_USAGE_DESCRIPTION</string>
+ </config-file>
+
<config-file target="*-Info.plist" parent="LSApplicationQueriesSchemes">
<array>
<string>googlechromes</string>

MODIFY
src/ios/strings/Base.lproj/pgm_Localizable.strings
src/ios/strings/Base.lproj/pgm_Localizable.strings
-NSLocationWhenInUseUsageDescription = "This app needs this permission to obtain your location.";
-NSLocationAlwaysUsageDescription = "This app needs this permission to follow your location.";
-
/*
* Generic
*/

Specify NSLocationWhenInUseUsageDescription in the plugin.xml, not pgm_Localizable.strings