Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Unable to call a platform channel method from another isolate #13937

Closed
@sroddy

Description

@sroddy

Status

9/9/22: Work- in-progress

Description

When I try to invoke a platform channel method from a custom spawned isolate, the app crashes badly (both on iOS and Android). I'm trying to figure out whether this is expected or not.

If it's not, it's probably worth to mention that somewhere.

Anyways I think that this can potentially be a strong limitation. Is there a way to be able to call platform plugins from a secondary isolate?

PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecta: annoyanceRepeatedly frustrating issues with non-experimental functionalityc: crashStack traces logged to the consolec: new featureNothing broken; request for a new capabilitycustomer: alibabacustomer: crowdAffects or could affect many people, though not necessarily a specific customer.engineflutter/engine repository. See also e: labels.packageflutter/packages repository. See also p: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions