Skip to content

Create a generic 'synchronous' engine data initialization mechanism #34170

@xster

Description

@xster

Currently there is setInitialRoute/pushRoute which has a timing sensitive API that could use improvements.

Simultaneously, there's asks in add-to-app to be able to send generic data initialization while loading up new isolates that's richer than sending a string to define the initial route or choosing a vm entry point. #23786

Simultaneously, in full-app cases, we need to populate the isolate initialization with iOS 13 color data.

Simultaneously, it would be nice to also be able to develop/debug add-to-app cases by just running the wrapper as a full-app using mock initialization data to do lighter development as @blasten suggested.

Perhaps something akin to application:(UIApplication*)application willFinishLaunchingWithOptions:(NSDictionary*)launchOptions's launchOptions NSDictionary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecta: existing-appsIntegration with existing apps via the add-to-app flowc: new featureNothing broken; request for a new capabilityengineflutter/engine related. See also e: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions