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

Wasm support #131

Closed
nietsmmar opened this issue Jun 11, 2024 · 3 comments
Closed

Wasm support #131

nietsmmar opened this issue Jun 11, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@nietsmmar
Copy link

Describe the bug

I can't built my app for wasm because this package is not supporting it. As it is stable in flutter now, it would be nice if it is supported.

@llfbandit
Copy link
Owner

It is supported since v4.0.0
https://github.com/llfbandit/app_links/blob/master/CHANGELOG.md#400

Unless you provide the line(s) which lead to your build failure, this issue will be closed.

@flowhorn
Copy link
Contributor

flowhorn commented Jun 11, 2024

This seems to be a regression with the linux gtk plugin as flutter 3.22.2 doesn't support compiling to wasm with dart:ffi.

I get the following error message:

../../../.pub-cache/hosted/pub.dev/gtk-2.1.0/lib/src/gtk_settings_real.dart:2:1: Error: 'dart:ffi' can't be imported when
compiling to Wasm.
import 'dart:ffi' as ffi;

So the app_links_linux part might cause the issue. I guess a conditional import might help.

@llfbandit llfbandit added the bug Something isn't working label Jun 12, 2024
@nietsmmar
Copy link
Author

Ahh it is this issue: dart-lang/sdk#55948

It just got fixed but takes some time to reflect in the flutter version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants