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