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

migrate to package:web #1303

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

migrate to package:web #1303

wants to merge 2 commits into from

Conversation

raldhafiri
Copy link

Migrated to package:web, meaning that it now supports WASM!

Fix #1302

@james-pellow
Copy link

I'd just like to add my support for this. In my reasonably complex application, this is the only package preventing us from compiling to wasm. I have reviewed this patch and it looks correct to me. Is there something that is holding this up? Thanks!

@raldhafiri
Copy link
Author

I'd just like to add my support for this. In my reasonably complex application, this is the only package preventing us from compiling to wasm. I have reviewed this patch and it looks correct to me. Is there something that is holding this up? Thanks!

I would recommend you to create pubspec_overrides.yaml and use it until it get merged or fork my repo
I know its not the best solution but hopefully it will be merged soon to support WASM

dependency_overrides:
  permission_handler_html:
    git:
      url: https://github.com/raldhafiri/flutter-permission-handler.git
      ref: main
      path: permission_handler_html

@koji-1009
Copy link

Thanks for the great PR. Can't wait to see it merged.

How about updating index.html to the template added in flutter 3.22.0? So we can test the build for wasm and it will be easier to make sure it works.

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.

[Enhancement proposal]: Add wasm support
3 participants