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

coi-serviceworker.js conflicts with index.service.worker.js when building as a PWA #3

Open
doctor-g opened this issue Apr 5, 2024 · 1 comment

Comments

@doctor-g
Copy link

doctor-g commented Apr 5, 2024

Exporting the project as a PWA generates a separate service worker script as index.service.worker.js. This results in two separate service worker scripts. My understanding is that a given page ought to only have one.

Is it possible to integrate the behavior of coi-serviceworker.js with index.service.worker.js in case both are desired?

@doctor-g doctor-g changed the title coi-serviceworker conflicts with index.service.worker.js when building as a PWA coi-serviceworker.js conflicts with index.service.worker.js when building as a PWA Apr 5, 2024
@nisovin
Copy link
Owner

nisovin commented May 22, 2024

Good news on this, it sounds like the functionality of this plugin is effectively going to be built-in to the PWA functionality in Godot 4.3.

https://godotengine.org/article/progress-report-web-export-in-4-3/#easy-coop-coep-pwa-for-threaded-builds

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

No branches or pull requests

2 participants