Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cordova.plugins.diagnostic.isLocationEnabled(function(enabled){
- console.log("Location setting is " + (enabled ? "enabled" : "disabled"));
- }, function(error){
- console.error("The following error occurred: "+error);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement