The geolocation plugin from https://github.com/apache/cordova-plugin-geolocation confiugures the following two permission:
<config-file target="AndroidManifest.xml" parent="/*"> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> </config-file>
However, I only need the coarse location and not the fine location. What would be the best way to remove the permission for Android and iOS?
- Is there a way to configure it via mobile-config.js?
- Fork the plugin, edit its plugin.xml and add it locally?
- Build the project and edit generated manifest files?
Thanks for any input on this.