flyandi / react-native-maps-navigation

Enables custom navigation in react-native-maps
134 stars 54 forks source link

Geo location watch position not following users location accurately on real device. #16

Open ShaunUNI opened 4 years ago

ShaunUNI commented 4 years ago

"react-native": "0.62.0" "react-native-maps-navigation": "0.0.14"

I found the navigation worked well on simulator but was very slow and jumpy when using a real device, so much so that it completely missed turns. I found the problem stemming from the geolocation.watchPosition() was using default values for how often it should poll for users location. I increased the accuracy of this and it fixed the problem, i will put the pull request through now but it requires pull request #13.