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

Needs to be migrated for web support #95

Open
awvreenen95 opened this issue Feb 16, 2024 · 3 comments
Open

Needs to be migrated for web support #95

awvreenen95 opened this issue Feb 16, 2024 · 3 comments

Comments

@awvreenen95
Copy link

I am attempting to compile a webassembly build for a project I'm working on that makes use of mqtt. The mqtt_client library is dependent on universal_html which does not support webassembly since the dart:html library is not supported.

Please see some more details in an issue I raised on flutter repo and also an issue raised on the mqtt_client repo.

@Macacoazul01
Copy link

Here we're having this error when building for flutter 3.19:
Error: The type 'JSObject' can't be used as supertype.

@navaronbracke
Copy link

We should really deprecate this library in favor of package:web that is vendored by the Dart team itself.

https://pub.dev/packages/web

@lishaduck
Copy link

We should really deprecate this library in favor of package:web that is vendored by the Dart team itself.

In an ideal world, yes, but package:web isn't universal either. Maybe a package:universal_web?

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

4 participants