We have an app which captures user's location using Google Play Service Location API for each transactions like Geotag land, upon placing an order etc.
After capturing these locations from mobile we'll sync it to server and show it in web dashboard.
We have noticed in few cases transaction captured within few seconds have location results of varied distance.
Example:
Location of the user will be in
Mandsaur, Madhya Pradesh, India, Asia
(Latitude - 24.057291, Longitude - 75.0970672, Captured date - 2017-01-04 09:19:48).
But subsequent transactions will have location of
Paris which is 6772 km away
(Latitude - 48.8581074, Longitude - 2.3525187, Captured date - 2017-01-04 09:20:01)
sometimes its fetch wrong stated of india like user is from gujrat then location fetch of Bihar, Maharastra, Kuwait(out of india) its really headache for indian developer
As this is happening without user interference and no mock location apps installed in user's device.
Can anyone explain why this happens and how could we avoid these scenarios?
NOTE:
These transaction locations are captured usually at open fields with GPS turned on and set to High Accuracy mode