I even tried the sample SDKs and the distance was not exactd.
Is there any way to update the distance on the go?
almost 3 years ago
Note that the discance calculation highly depends on the accuracy of your LocationProvider implementation. I recommend using GooglePlay Location Service to not rely on a manual GPS fetching approach.
Once you have best available user location in place, the distanceToUser function will return more accurate values by design.