Cordova Plugin Gps
This plugin allows to turn on the gps if that is disabled. If gps is disabled it will show a dialog: by press OK button the app will be able to turn on the GPS.
Platform Available
Only Android
Installation
Install it with npm.
npm i cordova-plugin-gps
How To Use
Simple Use
Call enableGps method in your js.
// Example of Use cordovapluginscordovaplugingps;
Force to active / Recursive Request
{ // Example of Use cordovapluginscordovaplugingps; } ;
Author
Daniele Tulone