We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3da13fc commit 9223073Copy full SHA for 9223073
shell/platform/darwin/ios/framework/Source/FlutterViewController.mm
@@ -664,8 +664,9 @@ - (void)viewDidAppear:(BOOL)animated {
664
TRACE_EVENT0("flutter", "viewDidAppear");
665
[self onUserSettingsChanged:nil];
666
[self onAccessibilityStatusChanged:nil];
667
- [[_engine.get() lifecycleChannel] sendMessage:@"AppLifecycleState.resumed"];
668
-
+ if (UIApplication.sharedApplication.applicationState == UIApplicationStateActive) {
+ [[_engine.get() lifecycleChannel] sendMessage:@"AppLifecycleState.resumed"];
669
+ }
670
[super viewDidAppear:animated];
671
}
672
0 commit comments