Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WASM support #28

Open
pepealonso95 opened this issue Jul 9, 2024 · 1 comment
Open

WASM support #28

pepealonso95 opened this issue Jul 9, 2024 · 1 comment

Comments

@pepealonso95
Copy link

Package needs to change dependencies like 'dart:js_util' to dart:js_interop in order to be compatible with Flutter Web WASM.
https://dart.dev/interop/js-interop

@xvrh
Copy link
Owner

xvrh commented Jul 10, 2024

Yeah, the intent was to make it work with WASM and most of the generated bindings already uses dart:js_interop.

In practice, wasm compilation was never really tested and it's totally possible that I missed some requirements.

I was not aware that we couldn't use dart:js_util. I guess we will have to replace all the promiseToFuture with toDart.

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

No branches or pull requests

2 participants