1 person found this helpful
The plugin (cordova-plugin-geolocation) will be updated in the near future.
Similarly, anyone who is authoring plugins may need to add a tag to their plugin.xml file.
<android> <config-file target="AndroidManifest.xml" parent="/*"> <uses-feature android:name="android.hardware.location.gps" /> <config-file> </android>
( cordova plugin add || phonegap plugin add ) will both do the right thing with the given fragment above.
So you're saying as a developer only using the plugin, I don't need to take any additional action, correct? It will be updated in the near future and I don't need to do anything.
But the solution you gave is for Native application. I needed the solution for hybrid application as I am using Phonegap to build the Apps. What changes can i make in the config file?