nativescript-geolocation
nativescript-geolocation copied to clipboard
[help wanted] exception handle...
In the catch of 'enableLocationRequest', the reason is not formatted, so it is difficult to handle the exception.
example...
if (err == 'Location not enabled.') {
// ...
} else if (JSON.stringify(err) === foo) {
// ...
} else ...
What should I do?