ionic-team / ionic-team/ion-android-geolocation
Getting the location tends to time out
Open
- Dominant language
- Kotlin
- Stars
- 1
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Using older versions capacitor geolocation plugin, getting the current location was done using the lastKnownLocation. We see a lot of issues in our app because getting a fresh location with not optimal GPS reception creates an error now.
While I think it is great to first use the timeout to fetch a fresh location, there should be either:
- A fallback to return the lastLocation if now fresh location can be fetched
- A second method (or parameter) to return the last known location instead
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.