Top "Service-worker" questions

A service worker is JavaScript code that, once registered with an associated origin and scope, will respond to browser-initiated events, even when the pages it controls are no longer open.

add to home screen not showing up PWA

I've created a Progressive Web App. It's simple, just an index.html, a folder "images" with favicon etc, a sw.…

service-worker progressive-web-apps manifest.json
firebase cloud messaging: setBackgroundMessageHandler not called

I am prototyping browser push notifications with FCM. I just copied the example code from the quickstart (https://github.com/…

firebase firebase-cloud-messaging service-worker
What can service workers do that web workers cannot?

What can service workers do that web workers cannot? Or vice versa? It seems that web workers are a subset …

javascript html service-worker web-worker w3c
Vue Cli 3 how to use the official PWA plugin ( Service Worker )

on my first vue project attempting to wrestle with the official PWA plugin ( https://github.com/yyx990803/register-service-worker ). My specific …

vue.js service-worker vue-cli pwa
How to configure service workers with create-react-app

I am creating a ReactJS app with the create-react-app utility. How could I configure it to use a file that …

reactjs webpack service-worker progressive-web-apps
Access localStorage from service worker

I want to periodically call an API from my service worker to send data stored in the localStorage. This data …

javascript html service-worker web-worker
Auto refresh a page in React.js

I need to continuously update/refresh my page to ensure that it is in sync with my server. Currently, I …

javascript reactjs service-worker background-sync
How to register service worker using webpack?

I'm implementing a ReactJS web application using webpack and I want to start implementing a service worker to handle the …

reactjs webpack service-worker create-react-app
Best practices for detecting offline state in a service worker

I have a service worker that is supposed to cache an offline.html page that is displayed if the client …

javascript offline service-worker progressive-web-apps
Open installed PWA from external url

Is there any method to open website (PWA) urls in the installed PWA in iOS- Safari? Use case: I'm sending …

ios mobile-safari service-worker progressive-web-apps pwa