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

Migrate to js_interop to make the package compatible with WASM #197

Open
GP4cK opened this issue Jul 19, 2024 · 3 comments
Open

Migrate to js_interop to make the package compatible with WASM #197

GP4cK opened this issue Jul 19, 2024 · 3 comments

Comments

@GP4cK
Copy link

GP4cK commented Jul 19, 2024

Summary

Support for WASM is now in stable. However, in order to use it, packages need to migrate from package:js to dart:js_interop.

Motivations

Improved performance in chromium browsers.

@Mercy811
Copy link
Contributor

Hi @GP4cK, thanks for choosing Amplitude. We will take this into our plan for Flutter 4.x web. But we don't have an ETA for this now.

@percula
Copy link

percula commented Sep 25, 2024

Please check out this fork. I'm not the author, but have been using this fork to enable WASM and it works flawlessly. I've looked over the code changes and it all seems legit. Should be a pretty easy PR and merge to get the functionality in.

@GP4cK
Copy link
Author

GP4cK commented Sep 25, 2024

Thanks a lot! I'll try it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants