1
0
mirror of https://github.com/flutter/samples.git synced 2026-06-25 07:38:26 +00:00
Files
samples/testing_app/ios/Runner/AppDelegate.swift
Abdulrahman Bashir effe13307c 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>
2026-06-19 14:35:48 -07:00

539 B