This repository was archived by the owner on Feb 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
Location timeout #10
Comments
I am not sure if it will work or not. But please let me know if it works. Thanks.
|
Sure, I will give it a try. Thanks BTW |
It works but is there any which can inform timeout occurred while fetching location |
I did not find any but you may add timeout function and then check exactly after that time if Latitude and Longitude is null or not. I hope this may work. rxGps.lastLocation() |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
How to add a timeout in observable of lastlocation() call if it's taking to much time to get location
The text was updated successfully, but these errors were encountered: