You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It’s not likely accuracy which is undefined but a LocationError object being provided to the onLocation handler instead of the expected Location object.
if you observe your logs, you should see a ⚠️ about not providing a 2nd arg locationErrorCallback to the onLocation method.
see the API docs .onLocation to learn about the 2nd argument.
Your Environment
react-native -v
): 0.74.2Expected Behavior
accuracy to be defined
Actual Behavior
accuracy is undefined and crashing the app
Can accuracy be undefined?
The text was updated successfully, but these errors were encountered: