Skip to content

Enable Scene Life Cycle Delegate for plugins #130445

@cyanglaz

Description

@cyanglaz

Flutter plugin currently only support adding ApplicationLifeCycleDelegates: https://github.com/flutter/engine/blob/main/shell/platform/darwin/ios/framework/Headers/FlutterPlugin.h#L440

App delegates are not available in app extensions. We need to add scene delegate support for app extensions to use those plugins.

One solution is to add a new method called addSceneLifeCycleDelegate and handle it in a similar way to the current addApplicationLifeCycleDelegate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listengineflutter/engine related. See also e: labels.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