Skip to main content
0 votes
0 answers
29 views

I want to open a new page on notification click in my Flutter web app. Here is my service worker: console.log("SW: test.js loaded"); self.addEventListener("push", event => { console.log("SW: ...
Misagh Emamverdi's user avatar
0 votes
0 answers
51 views

Here is my code. Both index.html and service-worker.js are served on http://localhost:8080. index.html <!doctype html> <html lang="zh"> <head> <script> if ...
West's user avatar
  • 97
0 votes
0 answers
23 views

I have a PWA installed on both desktop and mobile. I want it to open a public URL: https://fj4fkaoplyuwyexf1mob.app.clientclub.net/communities/groups/mvp-love-hub/home?invite=690ad2c50e22b19a200b4afa ...
Saad Naeem's user avatar
-2 votes
0 answers
64 views

I have a .NET website running on an internal IIS10/Windows Server 2022 machine. It has an internal SSL cert authorised by our domain. It works with HTTP/1.1 and HTTP/2. It's configured to pass an alt-...
Keith's user avatar
  • 157k
0 votes
0 answers
19 views

I am having issues with fetch() statements in my service worker in a progressive web app installed on my Android phone (with Chrome). Ordinarily this would be easy to debug by sending messages to ...
Colin R. Turner's user avatar
1 vote
1 answer
79 views

I'm having trouble displaying notifications from a chrome extension service worker while migrating from manifest v2 to v3. chrome.notifications.create appears to be deprecated and throws an Unknown ...
ealfonso's user avatar
  • 7,514
1 vote
0 answers
159 views

I want to use a service worker to precache a webpage on install. It is very easy to precache the HTML itself self.addEventListener('install', (event) => { event.waitUntil( caches.open('v1') ...
Nils's user avatar
  • 430
1 vote
1 answer
93 views

I realised that Rails 8 generated automatically a service worker file for a new app. It seems to be useful for web push notifications, and I would like to use push notifications but I do not know how ...
Chiara Ani's user avatar
  • 1,135
0 votes
1 answer
57 views

I want to make a PWA app with Angular 19 that is available offline. I followed the official documentation to install the ServiceWorker. But when I simulate the offline status in the browser, the app ...
Marco Rebsamen's user avatar
0 votes
0 answers
63 views

I've got a PWA app that works fine with script-src 'self'; worker-src 'self' content-security-policy header and I'm trying to tighten security using hashes. I have the index.html file like below <...
Vlad S's user avatar
  • 76
0 votes
0 answers
57 views

I’m seeing a rare but recurring issue with my Chrome extension’s service worker. The extension uses a workaround to keep the service worker persistent and always active. It has an offscreen script and ...
Stefan Srnjakov's user avatar
0 votes
1 answer
53 views

I'm using my React app service worker to intercept certain fetchs to concatenate to their urls a token. It works good on the initial page load, but after a certain time, when I navigate the sw stops ...
JohnTitour's user avatar
2 votes
1 answer
572 views

I have a PWA that works on a desktop browser and shows the install icon in the address bar (Brave and Chrome browsers). There is a manifest.json and the service worker (sw.js) is recognised, and ...
Packwood's user avatar
  • 333
0 votes
1 answer
137 views

I'm building a PWA with Workbox and getting this error only in Safari: Response served by service worker has redirections This happens when I navigate to routes like /auth/login or /receipt after ...
Jacob Goh's user avatar
  • 20.9k
0 votes
0 answers
105 views

In the web app, it looks good since onSuccess gets called, but the only console log from the service worker I get is the one from initializing it. Somehow, it looks like listening for the periodicsync ...
Simon Ferndriger's user avatar

15 30 50 per page
1
2 3 4 5
317