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

Support for WASM by moving from dart:html to package:web #812

Open
MyBuzzTechnologies opened this issue Oct 29, 2024 · 5 comments
Open

Support for WASM by moving from dart:html to package:web #812

MyBuzzTechnologies opened this issue Oct 29, 2024 · 5 comments

Comments

@MyBuzzTechnologies
Copy link

To support WASM projects, all third party packages need to switch from dart:html to package:web as described in the comments of this post:

https://stackoverflow.com/questions/78516000/error-when-compiling-flutter-web-application-with-wasm-support-dart-library-d

At the moment, our web app using secure_storage (web) can't compile for WASM because of this issue.

@cuong0993
Copy link

Already release flutter_secure_storage_web: 2.0.0-beta.1

@danReynolds
Copy link

But I think it needs another publish since this change was made after it was published: 1d7b32b and the web package is now at version 1.1.0.

@cuong0993
Copy link

we can do like this temporarily

dependency_overrides:
  flutter_secure_storage_web: 2.0.0-beta.1
  web: ^1.1.0

Besides this package seems to be not actively maintained.

@amrgetment
Copy link

can it use web: ^1.1.0

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

5 participants