Skip to content

[UIScene] connectionOptions should be associated to UIScene rather than UISceneDelegate #191039

Closed

Description

@hellohuanlin

Use case

This is similar to #185687

We track the connectionOptions in FlutterSceneLifecycle.mm:

@property(nonatomic, strong) UISceneConnectionOptions* connectionOptions;
@property(nonatomic, assign) BOOL sceneWillConnectEventHandledByPlugin;
@property(nonatomic, assign) BOOL sceneWillConnectFallbackCalled;

Proposal

FlutterSceneLifecycle.mm is associated with the scene delegate. However, connectionOptions should be associated per UIScene rather than UISceneDelegate.

About the other 2 flags (sceneWillConnectEventHandledByPlugin and sceneWillConnectFallbackCalled): I am not sure what they are used for yet. TBD

Activity

  1. changed the title [-][UIScene] `connectionOptions` (and a few others) should be associated to UIScene rather than UISceneDelegate[/-] [+][UIScene] `connectionOptions` should be associated to UIScene rather than UISceneDelegate[/+] on Aug 13, 2026
  2. added
    P2Important issues not at the top of the work list
    c: tech-debtTechnical debt, code quality, testing, etc.
    triaged-iosTriaged by iOS platform team
    on Aug 13, 2026
  3. github-actions commented on Oct 30, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  4. locked as resolved and limited conversation to collaborators on Oct 30, 2026
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 listc: tech-debtTechnical debt, code quality, testing, etc.platform-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