-
Notifications
You must be signed in to change notification settings - Fork 427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First location update is invalid sometimes #2227
Comments
I’ve never heard of this case. |
Apple themselves might eventually fix this in a future update. There’s no reason they should return a location having 0 latitude || longitude |
Ok, I'm not sure what I should tell my customers in this case. Also, any insight on why the tracking stops as show in the picture attached? |
In the meantime. You should be adding a filter to your data.
Without logs, impossible to say. I’ve been keeping a close eye on my daily field-testing with 2 iOS devices (and 4 Android — I carry a backpack of devices almost everywhere I go). I’m not seeing anything unusual with the demo app. |
We have a lot of users that operate in areas with poor or no cellular coverage. I'm starting to think that the transition from in-service to out-of-service is having an impact, but I can't seem to accurately correlate that either. Obviously in areas with no signal the device won't be able to report it's location, so I'd expect to see a gap in path. The gaps we see aren't consistent tho. One day the path will be full along the route, the next day it will have gaps where yesterday it reported fine. |
This issue is stale because it has been open for 30 days with no activity. |
Your Environment
react-native -v
): 0.74.5Expected Behavior
The app report accurate location and accuracy
Actual Behavior
The first location provided by the library sometimes is wildly invalid reporting in the ocean (0.000, -109.298) with an accuracy of 5m.
We are unsure how to filter this location update, apart from the fact the latitude is 0.000, as the accuracy reported is 5m. We'd prefer not to have to put one off cases into our filter for things like "is the latitude or longitude 0.00?", kinda smells.
We are also still seeing that the device intermittently will stop tracking entirely, despite moving.
You can see in some cases, the user drove along the same route, but the tracking ceased for a while. Originally we thought this was related so cellular dead zones, but examining the route closer, I can see that the user backtracked along the same path. One direction it tracked decently, the other it skipped a large path. Also across days, I can see that there aren't dead zones along the path in most cases.
Steps to Reproduce
The text was updated successfully, but these errors were encountered: