-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/engine
#12128Labels
a: existing-appsIntegration with existing apps via the add-to-app flowIntegration with existing apps via the add-to-app flowc: API breakBackwards-incompatible API changesBackwards-incompatible API changesengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-iosiOS applications specificallyiOS applications specifically
Milestone
Description
In FlutterViewController.mm, Flutter's lifecycle is binding with FlutterViewController' and UIApplication at the same time. This may be not correct when use flutter with add2app.
When FlutterViewController is covered by other native ViewController, Flutter's lifecycle is paused. Now when application resign active and become active again. FlutterViewController is not visible but Flutter's lifecycle is resume due to UIApplication notification.
This pr fixes problem.
This problem is critical when some logic needs to be executed when flutter becomes resumed.
What's more, if one needs to show keyboard when flutter becomes resumed, the keyboard will be shown on the native UIViewController.
Metadata
Metadata
Assignees
Labels
a: existing-appsIntegration with existing apps via the add-to-app flowIntegration with existing apps via the add-to-app flowc: API breakBackwards-incompatible API changesBackwards-incompatible API changesengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-iosiOS applications specificallyiOS applications specifically