1
0
mirror of https://github.com/flutter/samples.git synced 2026-06-25 15:49:43 +00:00

Migrate testing_app to UIScene lifecycle (#2836)

## Summary
[![talabat.com
contributions](https://img.shields.io/badge/talabat.com-contributions-FF5A00?style=flat&logo=flutter&logoColor=white)](https://www.talabat.com)
[![Talabat Flutter
PRs](https://img.shields.io/badge/Talabat_Flutter_PRs-26%20merged-97ca00?style=flat&logo=flutter&logoColor=white)](https://github.com/search?q=org%3Aflutter+talabat&type=pullrequests)

- Migrate `testing_app` iOS project to the UIScene lifecycle as per the
[migration
guide](https://docs.flutter.dev/release/breaking-changes/uiscenedelegate)
- Update `AppDelegate.swift` to use `@main`,
`FlutterImplicitEngineDelegate`, and move plugin registration to
`didInitializeImplicitFlutterEngine`
- Add `UIApplicationSceneManifest` to `Info.plist`

Part of flutter/flutter#176957

## Test plan
- [x] Ran `testing_app` on iOS simulator — app launches and works
correctly

---------

Co-authored-by: Eric Windmill <eric@ericwindmill.com>
This commit is contained in:
Abdulrahman Bashir
2026-06-20 01:35:48 +04:00
committed by GitHub
parent b538521864
commit effe13307c
5 changed files with 37 additions and 14 deletions

View File

@@ -50,8 +50,8 @@ skip_ci:
- add_to_app/multiple_flutters/multiple_flutters_module
- add_to_app/plugin/flutter_module_using_plugin
- add_to_app/prebuilt_module/flutter_module
# remove after 3.44 release
- cupertino_gallery
skip_ci_beta:
- material_3_demo
# - sample_name_to_skip