geolocation
Check for access to the GPS with cordova.
1Geolocation.checkAccess(function (access) { 2 if (access === Geolocation.Status.AVAILABLE) return; 3 4 alert('Please enable your GPS'); 5});
v1.0.2•Published 10 years ago
This package has not had recent updates. Please investigate it's current state before committing to using it in your project.
Check for access to the GPS with cordova.
1Geolocation.checkAccess(function (access) { 2 if (access === Geolocation.Status.AVAILABLE) return; 3 4 alert('Please enable your GPS'); 5});