Geo Location
On secure(https) pages browser like default navigator functions will work.
navigator.geolocation.getCurrentPosition(success, error, [options])For reference can follow the link below.
To get GPS Status of device
WTN.isDeviceGPSEnabled({
callback:function(data){
console.log(data.value);
}
});import { isDeviceGPSEnabled } from "webtonative"isDeviceGPSEnabled({
callback:function(data){
console.log(data.value);
}
});Last updated
Was this helpful?