Replies: 2 comments
-
Hey @thraizz, did you figure it out? |
Beta Was this translation helpful? Give feedback.
0 replies
-
https://github.com/elk-zone/elk/blob/main/service-worker/elk-sw.ts You can also check the examples in the repo. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
We are building a web app with PWA capabilities such as Push Notifications using FCM + PWABuilder. This works great on iOS so far. For the browser-native part, we have to add a service worker for handling background message events but are using this plugin in
registerType: 'autoUpdate'
setting. I've searched here and through the docs and couldn't find the definite answer how to add custom logic now.The right way to do this seems to be writing your own service worker and then to inject this script with this configuration:
Is that correct?
Beta Was this translation helpful? Give feedback.
All reactions