iOS 11.x - iphone 7
Fuse 1.5.0 Mac High Sierra
When user reject the permission to access gps, GeoLocation.getLocation
don’t throw the catch method.
GeoLocation.getLocation(100).then(function (location) {
///
}).catch(function (fail) {
console.log("fail gps");
})
I need to capture the fact that the user refused to give up the GPS permits.
I also tried with emitter but it didn’t work too.
GeoLocation.on("error", function(fail) {
console.log("GeoLocation error " + fail);
});