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

Allow the service worker to work in the background without stopping for installed PWA #1728

Open
budarin opened this issue Sep 4, 2024 · 1 comment

Comments

@budarin
Copy link

budarin commented Sep 4, 2024

Current situation:

as soon as the page is closed or becomes inactive, the browser stops the work of the service worker. The idea is clear - the browser cannot keep all service workers of all pages ever opened in working state.

But not so long ago, we had the opportunity to install PWA applications (or add them to the home screen in iOS)!
This action transfers a simple page with service worker to the category of installed applications.
Native installed applications have the privilege to stay running in the background.
Why do the installed PWA applications not have this feature!?

Proposal:

to allow the installed PWA applications to have service worker running in the background without stopping until they are uninstalled.

@mxk700
Copy link

mxk700 commented Sep 4, 2024

This looks like a nice improvement for user experience, I'd like to have this feature for PWA service workers.

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