-
Notifications
You must be signed in to change notification settings - Fork 426
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
Getting Incorrect Locations #2193
Comments
The plug-in is only the mailman, delivering to you locations provided by the native location api. One location has an accuracy of If you don’t like the |
Since we are using the library's URL method, which automatically sends the coordinates to our API database, how can we filter out locations based on location.coords.accuracy for specific coordinates? |
At your server, you should analyze incoming data and throw out undesirable locations. |
Currently, we are sending the following locationTemplate to our database:
This includes only latitude, longitude, and time. Is there a way to also fetch location.coords.accuracy so that we can save it in our database and use it for filtering? |
See the API docs Config.locationTemplate to learn about how which attributes are available to you in your template. |
Your Environment
react-native -v
):0.73.6Expected Behavior
Getting Correct Locations Point
Actual Behavior
At 2024-10-18 06:56:26.885, the library generated this location: 📍<+40.94316423, -111.89047783> +/- 68.46m (speed -1.00 m/s, course -1.00) @ 10/18/24, 6:51:36 AM MDT
Then, at 2024-10-18 06:56:40.789, the library generated this location: 📍<+40.98457200, -111.89573687> +/- 4.58m (speed 0.00 m/s, course -1.00) @ 10/18/24, 6:56:40 AM MDT
These two points are about 3.3 miles apart, which seems impossible within this short time frame. Could you help us understand why such a large location shift is occurring?
Steps to Reproduce
Context
Debug logs
Logs
The text was updated successfully, but these errors were encountered: