Closed tsuncp closed 1 year ago
@override
void didChangeAppLifecycleState(AppLifecycleState state) {
switch (state) {
case AppLifecycleState.resumed:
_positionStreamSubscription = _subscriptPositionStream();
break;
case AppLifecycleState.paused:
_positionStreamSubscription.cancel();
break;
default:
break;
}
}
Have you tried to set showBackgroundLocationIndicator to false?
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.
you could add an option to cancel the listener when enter background? just like google map, to avoid the blue notifification on the top left corner for ios platform