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
Hi Dean,
i have a question about _stopUpdatingLocation, why[ if (!_updateInBackground)] instead of[ if (_updateInBackground)]?
If app be put in the background, it could be in the background mode, suspend mode, even not running mode terminated by user.
In that case if (!_updateInBackground) , locationManager is startUpdatingLocation not startMonitoringSignificantLocationChanges, OS could not updated location when app is not running or in the background
Or OS still update location when locationManager is startUpdatingLocation?
thank you for your replay
The text was updated successfully, but these errors were encountered:
Hi Dean,
i have a question about _stopUpdatingLocation, why[ if (!_updateInBackground)] instead of[ if (_updateInBackground)]?
If app be put in the background, it could be in the background mode, suspend mode, even not running mode terminated by user.
In that case if (!_updateInBackground) , locationManager is startUpdatingLocation not startMonitoringSignificantLocationChanges, OS could not updated location when app is not running or in the background
Or OS still update location when locationManager is startUpdatingLocation?
thank you for your replay
The text was updated successfully, but these errors were encountered: