nativescript-geolocation icon indicating copy to clipboard operation
nativescript-geolocation copied to clipboard

[help wanted] exception handle...

Open dvlpr91 opened this issue 4 years ago • 0 comments

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?

dvlpr91 avatar Dec 02 '21 23:12 dvlpr91