Is there a way in PhoneGap to update the Geolocation plugin's permissions from "while in use" to "always" without manually editing the .plist file? I noticed that changing the NSLocationAlwaysUsageDescription
key in the project's config.xml sets the correct permission, but how can I accomplish this through the JavaScript API of the plugin?
Reference: https://github.com/apache/cordova-plugin-geolocation/blob/master/src/ios/CDVLocation.m#L130