rekabhq / background_locator

A Flutter plugin for updating location in background.
MIT License
287 stars 321 forks source link

[iOS] Background locator remaining on even when `unRegisterLocationUpdate` called. #298

Open maxamuss opened 2 years ago

maxamuss commented 2 years ago

Hi,

I am getting reports from users that their location is continuing to be tracked for up to several days even when they have turned off location tracking within the app.

As a potential workaround, I would like to unregister the plugin automatically when it has been running for a given amount of time (say 4 hours). Do you have any suggestions on the best way to implement this?

furkankyildirim commented 2 years ago

I have same issue. Even if I close background locator with unRegisterLocationUpdate, when I closed the app, navigation icon appears on top on iOS.