Skip to content

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