mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
CP of https://github.com/flutter/flutter/pull/170490 This PR rolls back auto-migrating iOS apps to UIScene lifecycle. It also updates tests to ensure things work in both a state where UIScene lifecycle is already adopted and when it isn't. A number of UIScene issues have emerged since landing this in master: https://github.com/flutter/flutter/issues/170171 In addition, there's is disagreement over how some of it is implemented. Impacted Users: All Flutter iOS developers Impact Description: Some method channels may crash and apps using app lifecycle events may not work properly. Workaround: Manually removing UIApplicationSceneManifest from Info.plist and potentially also update AppDelegate.swift. Risk: Low Test Coverage: Yes Validation Steps: Run `flutter build ios` and see that `UIApplicationSceneManifest` if not added to Info.plist.