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

Migration to js_interop for WASM Compatibility #297

Open
MominRaza opened this issue Apr 5, 2024 · 4 comments
Open

Migration to js_interop for WASM Compatibility #297

MominRaza opened this issue Apr 5, 2024 · 4 comments

Comments

@MominRaza
Copy link
Contributor

Migrate web plugin from the js package to js_interop and migrate dart:html to package:web.

@myxzlpltk
Copy link

I already add pull request here #306

@MominRaza
Copy link
Contributor Author

Thanks
In your pr add "fixes #297"

@xErik
Copy link

xErik commented Aug 29, 2024

Is there an ETA?

WASM build still fails with:

Target dart2wasm failed: ProcessException: Process exited abnormally with exit
code 64:
../AppData/Local/Pub/Cache/hosted/pub.dev/flutter_image_compress_web-0.1.4+1/lib/src/pica.dart:5:8: Error: Dart library 'dart:html' is not available on this  
platform.
import 'dart:html';
       ^
Context: The unavailable library 'dart:html' is imported through these
packages:

    web_plugin_registrant.dart => package:flutter_image_compress_web =>        
    dart:html

@bhanuka96
Copy link

This issue has been open since April. Is this plugin discontinued?

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