This repository was archived by the owner on Nov 8, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 77
ios Error: New location is older than requested maximum age! #79
Labels
Comments
Hi @nmongiya, What's the content of your "this.getLocation();" method? |
Hi @DimitarTachev |
@DimitarTachev, I think this issue is quite serious. I'm finding that it completely breaks nativescript-geolocation on newer devices. Might try to have a look at the plugin myself, would be good to see if anyone else is working on it. Thanks for the great plugin btw! |
Fixed and released |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Make sure to check the demo app(s) for sample usage
Make sure to check the existing issues in this repository
If the demo apps cannot help and there is no issue for your problem, tell us about it
Please, ensure your title is less than 63 characters long and starts with a capital
letter.
Which platform(s) does your issue occur on?
Please, provide the following version numbers that your issue occurs with:
"nativescript-pro-ui": "^3.1.3",
tns --version 3.2.0
"tns-ios": {
"version": "3.2.0"
}
Please, tell us how to recreate the issue in as much detail as possible.
Describe the steps to reproduce it.
`geolocation.isEnabled()
.then((hasPermission) => {
if (hasPermission) {
this.getLocation();
} else {
geolocation.enableLocationRequest()
.then(() => {
this.getLocation();
})
}
The text was updated successfully, but these errors were encountered: