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,
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:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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