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 WASM Build #134

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Support WASM Build #134

wants to merge 2 commits into from

Conversation

nomad2569
Copy link

To use the WASM build supported from Flutter 3.22 onwards, the following migration is necessary:

https://docs.flutter.dev/platform-integration/web/wasm#js-interop-wasm

However, since iamport_flutter depends on uni_links, which has not been updated for two years, running

flutter build web --wasm

leads to the following error.

.pub-cache/hosted/pub.dev/uni_links_web-0.1.0/lib/uni_links_web.dart:1:8: Error: Dart library 'dart:html' is not available on this platform.
import 'dart:html';

I suggest replacing uni_links with app_links.

Thank you.

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

Successfully merging this pull request may close these issues.

1 participant