Skip to content

Conditionally load js shims for passing SharedArrayBuffer via postMessage #2

@nullrocket

Description

@nullrocket

Using postMessage to pass SharedArrayBuffer throws UnimplementedError: structured clone of other type #49610
I have opened an issue for Dart addressing this bug. It was recently merged but will take a while to make its way to a stable version of flutter, so the shim is still required, and will always be required for previous Flutter/Dart versions.

For now they are always loaded but it would be nice to dynamically choose to load or not depending on the dart version.

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