Closed brian-superlist closed 5 months ago
This looks like a bug that was fixed in a subsequent version of on of the flutterfire packages (firebase_auth_web
I think?). Can you update that package and tell me if this is still happening?
Thanks, giving that a shot. My bad, I thought I'd done an upgrade on that package, but I was still behind by a couple of point version.
I'll report back.
Looks like it's solved, I've now run into another issue with a different firebase library. Apologies for missing the update and thanks again for the help!
Just a heads up: there was also a compiler level issue with the firebase packages, and that fix hasn't yet made it into stable: https://github.com/dart-lang/sdk/issues/55457
But it should be fixed in flutter master, so it would be worth trying master if you're running into more firebase issues.
Great, thanks again! We are running against very recent versions of Flutter since we contribute a lot of fixes that are important to our app, and I'd also tried the main
as well.
We experience runtime errors while running our app app in-browser with WASM support.
Unfortunately, our app is quite large and I wasn't able to boil this down to a minimal reproduction step right now, but I saw a similar issue (#55513). We also cannot share source code as it is a closed source application (Superlist)
Reproduction steps
flutter build web --release --dart-define="SIGN_IN_CONTINUE_URL=http://app.superlist.com" --build-name="ABC" --build-number="XYZ" --source-maps --wasm --no-strip-wasm --target lib/main_prod.dart
dart pub global run dhttpd '--headers=Cross-Origin-Embedder-Policy=credentialless;Cross-Origin-Opener-Policy=same-origin'
Expected Result
App runs with wasm support!
Actual Result
The app does not run. The following error is displayed in the console.
Additional Information
Part of the WASM that fails
Flutter --version
This is our current version, and I also experienced the exact same issue using flutter
main
branch.Dart info