I am requesting location updates using LocationManager.requestLocationUpdates
using the GPS provider. I am requesting updates every second. We have a foreground service running to make sure that we get consistent location updates even when the app is in background.
We did test runns with multiple devices and we discovered something very interesting. The location would "freeze" on some devices which means that onLocationChanged
is called but it always reports an outdated location. This location has the exact same lat/long values, but it has a new timestamp which is incorrect.
Other devices continued to record the location correctly.
All devices where running the same app/code.
Has anybody experienced similar issues before and knows what the problem is ?
I expected all devices to behave the same.