Skip to content

[macOS] Launch isolate with an entrypoint from another library? #65222

Open
@hacker1024

Description

@hacker1024

Use case

I'm trying to port the flutter_isolate plugin to macOS. On iOS, it uses the -runWithEntrypoint:libraryURI: function in FlutterEngine to launch an isolate with an entrypoint inside the plugin's Dart code - but this function doesn't seem to exist on macOS. Only -runWithEntrypoint: does, which can only launch isolates from the main library.

Futhermore, the FlutterCallbackCache and FlutterCallbackInformation classes seem to be missing, making it impossible to get information from a callback id.

Proposal

I'd like there to be a way on macOS to do what -runWithEntrypoint:libraryURI: can do on iOS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: desktopRunning on desktopc: proposalA detailed proposal for a change to Flutterplatform-macBuilding on or for macOS specificallyteam-macosOwned by the macOS platform teamtriaged-macosTriaged by the macOS platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions