-
Notifications
You must be signed in to change notification settings - Fork 15
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 WebAssembly compilation #1068
base: main
Are you sure you want to change the base?
Conversation
@SleepySquash could you add to the PR description the relative tracking links for each issue? |
Update: latest |
Latest |
Synopsis
Flutter brings WebAssembly compilation to its stable branch. However, certain packages don't yet support this.
Solution
Upgrade packages to support building web as a WebAssembly target.
This PR is blocked by the following bugs discovered while testing:
sqlite3
doesn't support persistence as of now, only in-memory database works. (dart2wasm support simolus3/sqlite3.dart#230)HtmlElementView
doesn't render properly onto the widget tree due to Flutter unable to render platform views in the WebAssembly currently. (HtmlElementView does render correct scale on wasm flutter/flutter#151104)unreachable
is thrown when pressingProceed
button of theIntroduction
modal. ([WASM] Navigator.of(context).pop doesn’t work when passed by reference flutter/flutter#154597)GalleryPopup
: once opened, it will never close, despite animation succeeding.Additionally it worth noting that only Chrome implements WasmGC required by Flutter to properly render WebAssembly. Firefox, as it seems, has it, but a bug with images being copied every frame makes it unusable. Safari doesn't support WasmGC at all.
Checklist
k::
labels applied