The only snippet you will need to deal with push notifications in a service worker
I'm working on a PWA at the moment. What a great time it is to be able to develop near native looking mobile applications without having to deal with flutter, native code, etc.
One part in particular is great: push notifications. Now that Safari 16 h...
blog.lekoala.be2 min read
Anton Andreasson
Great post! But how would you integrate this into your Workbox setup? I'm having troubles since I'm using its auto-generated sw.js file based on my workbox config, are you adding the push code there too or somewhere else..?