Skip to content

WASM compatibility #70

@james-pellow

Description

@james-pellow

Attempting to compile our app to WASM results in the following incompatibility issues:

Wasm dry run findings:
Found incompatibilities with WebAssembly.

file:///Users/james/.pub-cache/hosted/pub.dev/dart_webrtc-1.6.0/lib/src/frame_cryptor_impl.dart
509:11 - invalid_runtime_check_with_js_interop_types lint violation: Cast from 'List<InvalidType>'
to 'JSObject' casts a Dart value to a JS interop type, which might not be platform-consistent. (6)
file:///Users/james/.pub-cache/hosted/pub.dev/dart_webrtc-1.6.0/lib/src/frame_cryptor_impl.dart
584:11 - invalid_runtime_check_with_js_interop_types lint violation: Cast from 'List<InvalidType>'
to 'JSObject' casts a Dart value to a JS interop type, which might not be platform-consistent. (6)

This seems like a trivial fix. Is this on anyone's radar? Thanks!

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