Category "service-worker"

serviceWorker on LAMP doesn't exist

I'm testing serviceWorker according "https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers" My PC with Ubuntu 18.04, apache2

how to re-register the service worker with next-pwa

I am using next-pwa package with my next.js applications for PWA features. But I am having a problem here. Everytime, I rebuild and redeploy the application, it

Worker service stops working unexpectedly

I have .NET Core 3+ worker service that checks "some stuff" every 10 seconds. At one point, it "randomly" stopped doing that and I am not sure why. So far it ha

Testing a serviceworker using Workbox

I have made an implementation of a service working using Google's Workbox library and I want to test my custom route handlers and logic, but I am really unsure

Failed to register a ServiceWorker (Flutter)

I'm working on a Flutter Web App and today I got these errors: A bad HTTP response code (404) was received when fetching the script. Uncaught (in promi

Updating DOM using data I receive fromm PUSH event in Service Worker

I am a beginner in Service Worker domain, Right now I am able show notification but my requirement is to update DOM using the data I receive from push event. I

How to Check if Service worker already exists and update with workbox

Would like to see if we can detect if there's already an active service worker on the client's device. Currently I use getRegistration to do this but I was curi

Confusion about scope property in web manifest

I'm confused about what should be my scope property in my web manifest file. Say, if my start_url is set to https://www.example.com/, should my scope be "/" or

Firebase messaging warning messages on service worker install process

I'm using firebase for push web notifications, my file firebase-messaging-ws.js is something like this: importScripts('https://www.gstatic.com/firebasejs/7.19.

PWA support in NextJs

we would like to build a fully offline capable react web application. We usually work with NextJS. The current problem that we are facing is that we are not abl

.net core, testing service application. After leaving worker loop, program not stopping until console window closed. Is this normal behaviour?

I'm testing a .net core 6 multi-threaded service worker app that processes batches of data rows and tables on sql server. I use serilog to log to file only. Whe

How do I load only this page when my progressive web app goes offline

I'm stuck on a problem: I wanted to make some tests trying to turn my simple flask web application into a progressive web application even tho I found poor info

A ServiceWorker intercepted the request and encountered an unexpected error

I recently implemented Angular service workers in my web app and when I reload my app in some routes, I get this error and the site stucks in app-shell: Failed

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 email links to login in my PWA, how can I make this

Service Worker Failed to execute 'put' on 'Cache'

I have a web app that stores the data in the browser to support working "offline". Below is the code in concern: function getPosCacheData(request, cacheName) {

How would I consume the body of a put request from a web worker

I want to consume data sent through a put request in a web worker. How would I do so? this the part in my code where I am trying to handle the put request if (m

Service worker add files from API call to precache

To enable my app running offline. During installation the service worker should: fetch a list of URLs from an async API reformat the response add all URLs in th

Can you manually set the version number in a PWA?

TL;DR Is there a way to set the version number of a PWA (Progressive Web Application) in the manifest.json or service-worker.js file to override the default (1)

How to alter the headers of a Request?

Is it possible to alter the headers of the Request object that is received by the fetch event? Two attempts: Modify existing headers: self.addEventListener('

C# worker service vs windows service

What is the big difference between the worker service project template and the windows service project template and which is better to use? When can I use a wo