Skip to content

Adapt js_interop types casts to support WASM builds#25

Merged
mrcendre merged 1 commit intomainfrom
wasm_types
Mar 18, 2026
Merged

Adapt js_interop types casts to support WASM builds#25
mrcendre merged 1 commit intomainfrom
wasm_types

Conversation

@mrcendre
Copy link
Owner

Closes #24

As reported by @Maatteogekko, WASM web builds produce a runtime exception indicating a type cast error when initializing the package.

This used to work in previous versions but no longer works since the latest Flutter SDK changes related to WASM support.

Now that we cast js_interop types the right way, the example app successfully compiles and runs as expected when targeting WASM.

@mrcendre mrcendre self-assigned this Mar 18, 2026
@mrcendre mrcendre merged commit 13ab5f1 into main Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Solve cast issues preventing WASM builds

1 participant