I want to show an alert saying that \"Please turn on your GPS\".
How can I get GPS status using phonegap?
I have used following code but I don\'t get any alert m
The best way to check if GPS, Wifi, … is enabled, is to use this plugin:
https://www.npmjs.com/package/cordova.plugins.diagnostic
Using this plugin you can check a lot of features and you can switch the user to the settings.