flutterlocation icon indicating copy to clipboard operation
flutterlocation copied to clipboard

changeSettings() interval is not working on iOS

Open William-Geng opened this issue 1 year ago • 1 comments

changeSettings() and set interval to 60000ms works fine on Android, but on iOS this setting seems to be ignored. onLocationChanged fires very rapidly as a result.

Expected behavior interval settings take affect and onLocationChanged stream only emits based on interval settings

Tested on:

  • iOS 17.5.1 real device

William-Geng avatar Jun 21 '24 21:06 William-Geng

Up got the same issue Also on Android, it seems like the update interval is never taken as it is -- it seems like the package always uses half of the interval value -- e.g. you set interval to 10 seconds, you will receive a location update each 5 seconds

mabilinab avatar Sep 21 '24 11:09 mabilinab