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
I'm building an iOS app and for some reason , the expo-location doesn't give me correct value for my current-location. I'm using Location.watchPositionAsync() function. let locationSubscription = await Location.watchPositionAsync({ accuracy: Location.Accuracy.Highest, distanceInterval: 50 //meters }, location => { currentLocation = location.coords console.log(currentLocation) setCurrentLocation(currentLocation) })
I know for sure that I am not getting the correct latitude and longitude value because I compared it with the value of google maps and they are completely different.
The text was updated successfully, but these errors were encountered:
I'm building an iOS app and for some reason , the expo-location doesn't give me correct value for my current-location. I'm using Location.watchPositionAsync() function.
let locationSubscription = await Location.watchPositionAsync({ accuracy: Location.Accuracy.Highest, distanceInterval: 50 //meters }, location => { currentLocation = location.coords console.log(currentLocation) setCurrentLocation(currentLocation) })
I know for sure that I am not getting the correct latitude and longitude value because I compared it with the value of google maps and they are completely different.
The text was updated successfully, but these errors were encountered: