You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw in location.dart that the Location instance is a singleton, and it starts tracking locations when you instantiate the instance: On line 12:
Initializes the plugin and starts listening for potential platform events.
However, I don't see an indication that location tracking stops once all listeners are removed, nor do I see a method to pause or shut it down. Can anyone confirm?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I saw in location.dart that the
Location
instance is a singleton, and it starts tracking locations when you instantiate the instance: On line 12:However, I don't see an indication that location tracking stops once all listeners are removed, nor do I see a method to pause or shut it down. Can anyone confirm?
Beta Was this translation helpful? Give feedback.
All reactions