-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Description
@jonahwilliams has merged a PR here #48344 that generates the service worker js file.
when we build flutter app with the canvas kit web assembly flag :
flutter build web --dart-define=FLUTTER_WEB_USE_SKIA=true
The service worker file generated doesn't contain the canvaskit.js or canvaskit.wasm files in the RESOUCRSES.
Please make sure that these files are also cached as part of other resources of the service worker.
canvaskit.js and canvaskit.wasm come from external urls :
https://unpkg.com/[email protected]/bin/canvaskit.wasm
https://unpkg.com/[email protected]/bin/canvaskit.js
Please add this also as part of the caching resources in the generated service worker file