Geo Location
navigator.geolocation.getCurrentPosition(success, error, [options])Last updated
navigator.geolocation.getCurrentPosition(success, error, [options])Last updated
You'll need to import the javascript file in your website before starting from this link.WTN.isDeviceGPSEnabled({
callback:function(data){
console.log(data.value);
}
});import { isDeviceGPSEnabled } from "webtonative"isDeviceGPSEnabled({
callback:function(data){
console.log(data.value);
}
});