I was working with FusedLocation, not sure why, but it worked before.
I set the interval to 1000ms, but if I check the LocationChange event, it only triggers every 10 seconds, it was working ok before, not sure if it was after upgrading to API 30.
Is there a restriction by the current OS on android that limits the interval?, I´m using a Xiaomi device.
Thanks
I set the interval to 1000ms, but if I check the LocationChange event, it only triggers every 10 seconds, it was working ok before, not sure if it was after upgrading to API 30.
B4X:
Dim lr As LocationRequest
lr.Initialize
lr.SetInterval(1000)
lr.SetPriority(lr.Priority.PRIORITY_HIGH_ACCURACY)
lr.SetSmallestDisplacement(1)
lr.SetFastestInterval(1000)
Is there a restriction by the current OS on android that limits the interval?, I´m using a Xiaomi device.
Thanks