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've noticed that
await AppSettings.openAppSettings(type: AppSettingsType.notification)
Doesn't wait for the pop back of the setting page
A work around for now is to listen to the lifecycle of the app with
with WidgetsBindingObserver
@OverRide
didChangeAppLifecycleState(AppLifecycleState state) {
switch (state) {
case AppLifecycleState.resumed:
//Do check in here for updated value
break;
case AppLifecycleState.inactive:
break;
case AppLifecycleState.paused:
break;
case AppLifecycleState.detached:
break;
case AppLifecycleState.hidden:
break;
}
}
The text was updated successfully, but these errors were encountered:
I've noticed that
await AppSettings.openAppSettings(type: AppSettingsType.notification)
Doesn't wait for the pop back of the setting page
A work around for now is to listen to the lifecycle of the app with
with WidgetsBindingObserver
@OverRide
didChangeAppLifecycleState(AppLifecycleState state) {
switch (state) {
case AppLifecycleState.resumed:
//Do check in here for updated value
break;
case AppLifecycleState.inactive:
break;
case AppLifecycleState.paused:
break;
case AppLifecycleState.detached:
break;
case AppLifecycleState.hidden:
break;
}
}
The text was updated successfully, but these errors were encountered: