You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey. I am trying to add PWA to my Astro app, but I encountered problem that my service worker to handle push notificiations is overwritten by service worker for PWA. Is there any way to extends PWA service worker? Did You encountered such problem? How did You handled it?
The text was updated successfully, but these errors were encountered:
Just use a custom sw including both pwa stuff and push notifications logic.
Check any example in the pwa repo for a custom sw (injectManifest streagy) for pwa stuff. You can also check this custom sw for push notifocation, push notifications clicks and pwa stuff https://github.com/elk-zone/elk/tree/main/service-worker (also with web share tsrget api)
Hey. I am trying to add PWA to my Astro app, but I encountered problem that my service worker to handle push notificiations is overwritten by service worker for PWA. Is there any way to extends PWA service worker? Did You encountered such problem? How did You handled it?
The text was updated successfully, but these errors were encountered: