Skip to content

Do not share MethodChannel across multiple FlutterEngine #6

@DIG-

Description

@DIG-

Some flutter plugins can start a background thing that requires a FlutterEngine (like firebase messaging). This create more than one FlutterEngine running at same time.
The current Android implementation shares MethodChannel across any FlutterEngine, by the singleton ChannelManager.
This creates a problem where the last FlutterEngine started will receive all calls from native side, intead of the caller engine..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions