workbox Questions

2

Solved

Looking over the documentation for workbox.js, I am not seeing any documentation for push or push notifications. Does workbox offer push functionality? I am speaking of the client side, not server...
Flemming asked 7/8, 2019 at 14:39

2

Solved

I have implemented Workbox to generate my service worker using webpack. This works pretty well - I can confirm that revision is updated in the generated service worker when running yarn run genera...
Spatial asked 29/3, 2020 at 9:10

2

I get this warning: No matching service worker detected. You may need to reload the page, or check that the service worker for the current page also controls the start of the URL from the ma...

0

I'm using Google's Workbox for some offline features and caching in my angular 9, app. For push messages, we're using Google's Firebase. Since updating the web app to Vue.js I receive an error whe...
Affettuoso asked 2/5, 2020 at 11:2

1

Solved

I have implemented Workbox to generate my service worker using webpack. This works - I can confirm revision is updated in the generated service worker when running "generate-sw": "workbox inject:ma...
Bane asked 5/4, 2020 at 9:20

2

is it possible to cache the response of POST request using workbox? my application uses POST request instead of GET to fetch list data , since user credentials are sent along with the request.
Decarbonize asked 12/10, 2018 at 16:36

1

I'm using the workbox webpack plugin with vue cli 3 and I would like to exclude the files in a folder from being added to the precache manifest. See my current file structure below /src  /...
Enlist asked 31/3, 2019 at 6:55

2

Solved

I've integrated a service worker into our Single Page App built with ReactJS, using the workbox-build package by Google. I'm having some troubles on the pre-caching of the index.html, specificall...
Spermatogonium asked 25/4, 2018 at 7:46

1

I have this in my window.js... const wb = new Workbox('sw.js'); wb.messageSW({type:'START'}); wb.addEventListener('message', e=>{ console.log(e); }); ...in my sw.js, I have... self.addEve...
Siesta asked 22/9, 2019 at 17:20

1

Solved

I'm trying to build a PWA for my app; and have spent almost 48 hours trying to figure out how to make use of Workbox with Laravel Mix. What's ironical is that Google says Workbox is meant to make t...

1

Solved

I appreciate this question might be slighty 'opinion based', however, I think a generalised answer could very much help others in the future that are interested in learning more about PWA's and Ser...

0

When using the Workbox Webpack Plugin in development mode (locally), I get the following service worker error: PrecacheController.mjs:62 Uncaught add-to-cache-list-conflicting-entries: Two of th...
Wines asked 16/8, 2019 at 13:45

0

I am creating a PWA and I want to prompt user when an updated service worker is available but it get's stuck into waiting phase regardless of whether I call skipWaiting() or I manually press skipWa...

1

I've used Vue-cli 3 to create a Vue app and I've been trying to incorporate FCM into it. However, I've been working on it for two days and I still cannot get it working. First, here's my import...
Nyala asked 6/6, 2018 at 3:40

1

Solved

I followed the steps at https://developers.google.com/web/tools/workbox/guides/using-bundlers but the dist/sw.js file after being built was not processed by Webpack at all. All the import statement...
Glace asked 21/6, 2019 at 22:4

1

Solved

Chrome in Android and Desktop supports "beforeinstallpromp" event which is can show up add to homescreen banner. I'm try to use the same javascript code for my PWA in iOS but it is doesn't work. ...
Spleen asked 22/3, 2019 at 15:4

2

Solved

I am new to service worker and workbox. I am currently using the workbox to precache my static assets files, which works fine and I expect my other thirdparty URL to be cached too during runtime, b...
Ockeghem asked 18/4, 2018 at 10:18

1

Solved

I am setting up a PWA for my company in house usage. What method should I use to attach a bearer token to all of the requests from dom or web-worker. This method that I am using works as expected ...

3

Solved

I stumbled upon this snippet in Google Workbox documentation: <script> // Check that service workers are registered if ('serviceWorker' in navigator) { // Use the window load event to keep ...
Anticathode asked 7/12, 2018 at 8:33

2

Solved

I'm trying to configure Workbox in CRA without eject. Anyone succeeded?
Hanzelin asked 26/7, 2018 at 7:45

1

Solved

I have a completely static site - index.html and some CSS/JS/PNG files. I'd like to use a service worker to cache all of them. It seems that Workbox should make this easy. Here's my sw.js: importS...
Quartas asked 14/9, 2018 at 3:6

1

Solved

I wish to use Workbox for caching local as well as remote image assets. Is this currently supported, if so how? Essentially I'd like to have the following functionality: workboxBuild.injectManife...
Cate asked 23/8, 2018 at 11:6

1

We have a signal page application that has Service worker installed and active. Now our server rebuilds the app, Service worker file is being updated on the server side. Our client has no idea a...
Ameline asked 8/8, 2018 at 13:41

1

Solved

By default skipWaiting is set to false in Workbox. Assuming you're only using the Workbox-created service worker for caching, are there any downsides to setting this to true? Without doing so, the ...
Ghyll asked 6/8, 2018 at 20:23

1

(Publicly asking/answering on behalf of someone.) I'm using Workbox to generate a service worker that precaches resources for my progressive web app. Am I wrong to be reluctant to precache ~20mb ...
Oke asked 30/7, 2018 at 13:52

© 2022 - 2024 — McMap. All rights reserved.