Find Jobs
Hire Freelancers

New serviceworker.js file with Workbox 5.1.2

€8-30 EUR

Preklicano
Objavljeno pred skoraj 4 leti

€8-30 EUR

Plačilo ob dostavi
I have PWA implemented in my Web but I have login problems I would like to update my serviceworker with Workbox 5.1.2 I just need a [login to view URL] that uses Workbox 5.1.2 and supports cache files and offline. My serviceworker is with 3.0: importScripts('[login to view URL]'); const appName = 'react-base'; const suffix = 'v1'; const staticCache = `${ appName }-static-${ suffix }`; const dynamicCache = `${ appName }-dynamic-${ suffix }`; const notificationDelay = 12000; [login to view URL]({ prefix: appName, suffix }); [login to view URL](); self._precacheManifest = [ '/[login to view URL]', '/oc-content/themes/beta/cache/js/[login to view URL]', '/oc-content/themes/beta/cache/css/[login to view URL]', '/oc-content/themes/beta/cache/css/[login to view URL]' ]; [login to view URL](self._precacheManifest, {}); [login to view URL]( /\.(?:js|css)$/, [login to view URL]({ cacheName: staticCache, plugins: [ new [login to view URL]({ maxEntries: 10, maxAgeSeconds: 10 * 24 * 60 * 60 }) ] }) ); [login to view URL]( /\.(?:png|gif|svg)$/, [login to view URL]({ cacheName: dynamicCache, plugins: [ new [login to view URL]({ maxEntries: 60, maxAgeSeconds: 30 * 24 * 60 * 60 }) ] }) ); [login to view URL]( /\.(?:jpg|jpeg)$/, [login to view URL]({ cacheName: dynamicCache, plugins: [ new [login to view URL]({ maxEntries: 60, maxAgeSeconds: 20 * 24 * 60 * 60 }) ] }) ); [login to view URL]( /.*(?:googleapis|gstatic).com.*$/, [login to view URL]({ cacheName: staticCache, plugins: [ new [login to view URL]({ maxEntries: 10, maxAgeSeconds: 90 * 24 * 60 * 6 }) ] }) ); [login to view URL]( ({ event }) => [login to view URL] === 'navigate', ({ url }) => fetch([login to view URL]).catch(() => [login to view URL]('/[login to view URL]')) ); [login to view URL]('push', async event => { const res = [login to view URL]([login to view URL]()); const { title, body, url, icon } = [login to view URL]; const options = { body, icon, vibrate: [100], data: { url } }; [login to view URL](showNotification(title, options)); }); const showNotification = (title, options) => new Promise(resolve => { setTimeout(() => { [login to view URL](title, options).then(() => resolve()); }, notificationDelay); }); [login to view URL]('notificationclick', event => { [login to view URL](); const { url } = [login to view URL]; if (url) [login to view URL]([login to view URL](url)); });
ID projekta: 25730140

Več o projektu

2 ponudb
Projekt na daljavo
Aktivno pred 4 leti

Želite zaslužiti?

Prednosti oddajanja ponudb na Freelancerju

Nastavite svoj proračun in časovni okvir
Prejmite plačilo za svoje delo
Povzetek predloga
Registracija in oddajanje ponudb sta brezplačna
2 freelancerjev je oddalo ponudbo s povprečno vrednostjo €30 EUR za to delo
Avatar uporabnika
Hello! Could you send me more details about your project? I am a Front-end developer and i can build apps using technologies like: React, React Native, Firebase, MongoDB , Redux etc. I can work with: Javascript, React, React-native , Node.js, PHP, CSS, HTML, Redux, react-i18next, Ajax, google-map-react, react-bootstrap, react-router-dom and so on. Looking forward to working with you. Hope your kind message soon. Thanks.
€30 EUR v 7 dneh
5,0 (35 ocen)
5,0
5,0
Avatar uporabnika
Hello, I have rich experience with PWA, I just finished a PWA project with same requirement. You can check my last review. Contact me so we can discuss this in details. Thanks.
€30 EUR v 1 dnevu
5,0 (5 ocen)
3,6
3,6

O stranki

Zastava SPAIN
Las Palmas, Spain
5,0
1
Plačilna metoda je verificirana
Član(ica) od maj 24, 2020

Verifikacija stranke

Hvala! Po e-pošti smo vam poslali povezavo za prevzem brezplačnega dobropisa.
Pri pošiljanju vašega e-sporočila je šlo nekaj narobe. Poskusite znova.
Registrirani uporabniki Skupaj objavljenih del
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Nalaganje predogleda
Geolociranje je bilo dovoljeno.
Vaša prijavna seja je potekla, zato ste bili odjavljeni. Prosimo, da se znova prijavite.