rekabhq / background_locator

A Flutter plugin for updating location in background.
MIT License
288 stars 337 forks source link

Update fix interval from callback #148

Open ludesert opened 4 years ago

ludesert commented 4 years ago

Is it possible to update the location fix interval FROM the callback function ?

As an example, if I get an update every 1 hour and then if this location matches some properties (example : the phone is 1 km away from let's say my house), then I want to get an update every 30 seconds for other purposes.

How could this be done ? Thanks

mehdok commented 4 years ago

HI @ludesert Thank you for opening an issue;

We don't have this option; I think a simple stop and start with new options will fix your issue;

ludesert commented 4 years ago

Hi ! I did not think about stopping and starting again the service ... I'll try this ! thanks