Skip to content

☂ Adopting UIScene lifecycle in Flutter #170171

Open
22 of 28 issues completed
Open

Description

@vashworth

In iOS 18.4, UIKit started logging warnings that apps need to migrate to UIScene lifecycle

CLIENT OF UIKIT REQUIRES UPDATE: This process does not adopt UIScene lifecycle. This will become an assert in a future version.

https://developer.apple.com/documentation/technotes/tn3187-migrating-to-the-uikit-scene-based-life-cycle

Flutter design doc: https://docs.google.com/document/d/1ZfcQOs-UKRa9jsFG84-MTFeibZTLKCvPQLxF2eskx44/edit?tab=t.0

This is a tracking issue to track issues and progress related to this migration.

Activity

  1. vashworth commented on Jun 6, 2025

    @vashworth
    ContributorAuthor
  2. added
    platform-iosiOS applications specifically
    team-iosOwned by iOS platform team
    P1High-priority issues at the top of the work list
    triaged-iosTriaged by iOS platform team
    on Jun 6, 2025
  3. 71 remaining items

  4. MirceaX2Mobile commented on Jan 14, 2026

    @MirceaX2Mobile

    Regarding this issue #172147
    I discovered that if you have the app in background on iOS and the system decides to kill it and then you try to open it, you will see the last frame session before the splash screen. Or when the app is opened from a notification.
    It's definitely happening because I migrated to UIScene, that's the only change that I made.
    Is this something intended?
    @darshankawar @gaaclarke

  5. LongCatIsLooong commented on Jan 14, 2026

    @LongCatIsLooong
    Contributor

    @amrgetment do you know if there's an existing github issue for that problem? If not could you create one with repro steps? This issue is for tracking the overall migration process and it will be easier to track problems with the migration tool in a separate issue.

  6. MirceaX2Mobile commented on Jan 14, 2026

    @MirceaX2Mobile

    @LongCatIsLooong If you are talking about my issue regarding background app state killed by the iOS.
    I can't create one with repro steps because it involves the OS to terminate your app.

  7. MirceaX2Mobile commented on Jan 16, 2026

    @MirceaX2Mobile

    Hope we can do something about it. It happens a lot in production when you actually use the flutter app and it gets terminated by the OS. You always get the last frame before the native splash screen.

  8. MirceaX2Mobile commented on Jan 25, 2026

    @MirceaX2Mobile
  9. darshankawar commented on Jan 27, 2026

    @darshankawar
  10. MirceaX2Mobile commented on Jan 27, 2026

    @MirceaX2Mobile
  11. darshankawar commented on Jan 27, 2026

    @darshankawar
  12. knotbin commented on Feb 16, 2026

    @knotbin

    Has anyone experienced hanging at the splash screen on iOS after the migration? Mine just goes to the splash screen and does not do anything else. I see no errors or warning logs from flutter or even if building in Xcode, just the splash screen forever.

  13. gaaclarke commented on Feb 17, 2026

    @gaaclarke
    Member

    Has anyone experienced hanging at the splash screen on iOS after the migration? Mine just goes to the splash screen and does not do anything else. I see no errors or warning logs from flutter or even if building in Xcode, just the splash screen forever.

    Your best bet is to file an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listplatform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions