python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to register a FCM Push Notification Receiving Service Worker in Vue 2
I am using firebase version 8.2.7
Code in public/firebase-messaging-sw.js
//firebase-messaging-sw.js
importScripts("https://www.gstatic.com/firebasejs/8.2.7/firebase-app.js");
importScripts...
Abdullah Ch
Votes: 0
Answers: 0
How do you ensure a service worker caches a consistent set of files?
I have a progressive web app (PWA) consisting of several files including index.html, manifest.json, bundle.js and serviceWorker.js. I update my app by uploading all these files to my host. In case it ...

James
Votes: 0
Answers: 1
How to send/store a simple string from a service worker when a notification is received?
I have a website that receives notifications from Firebase and I would like to redirect the user to a specific page (ex: home/news) but the websites requires the user to be logged in so when I try to ...
Nicoara
Votes: 0
Answers: 0
self.__WB_MANIFEST is not replaced by InjectManifest generated urls for precaching using service worker
This is my webpack config
new InjectManifest({
swSrc: './app/service-worker.js',
swDest: 'sw.js',
maximumFileSizeToCacheInBytes: 5000000,
}),
This is my servie-worker.js
imp...

Ramji
Votes: 0
Answers: 1