-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Open
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityplatform-webWeb applications specificallyWeb applications specificallyteam-webOwned by Web platform teamOwned by Web platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-webTriaged by Web platform teamTriaged by Web platform team
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityplatform-webWeb applications specificallyWeb applications specificallyteam-webOwned by Web platform teamOwned by Web platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-webTriaged by Web platform teamTriaged by Web platform team