title: Setting NSLocationWhenInUseUsageDescription value when using cordova-plugin-geolocation
body: <p>I'm building a mobile app using Cordova. I use <code>cordova-plugin-geolocation</code> to get the user's current location. To customize the location permission request on iOS it's needed to set the <code>NSLocationWhenInUseUsageDescription</code> plist value.</p>
  
  <p>Generally, to set an iOS plist option it's needed to manually set the option value in the <code>platforms/ios/&lt;app-name&gt;/&lt;app-name&gt;-Info.plist</code>. The problem is that on each build the <code>cordova-plugin-geolocation</code> overwrites the custom value with it's default empty string.</p>
  
  <p>A guess it has something to do with the following lines in the <code>plugins/cordova-plugin-geolocation/plugin.xml</code>:</p>
  
  <pre><code>&lt;config-file target="*-Info.plist" parent="NSLocationWhenInUseUsageDescription"&gt;
    &lt;string&gt;&lt;/string&gt;
  &lt;/config-file&gt;
  </code></pre>
  
  <p>But if I try to set any value into that <code>&lt;string&gt;</code> it is not respected, because it seems that the <code>plugin.xml</code> is cached somewhere when the plugin is installed.</p>
  
  <p>So any help with setting the <code>NSLocationWhenInUseUsageDescription</code> in a way that persists over project rebuilds is appreciated.</p>