Is it possible to transfer web push subscriptions to a different domain / web push service?
Web Push Notifications
Let’s ask Apple to add Web Push Notifications to iOS
We’ve all been there: you have built a great web app, optimized for mobile, but you have to build a native or hybrid web app just to send push notifications.
Fortunately, thanks to the new standards, like the Push API, Service Workers and Web Notifications, you don’t have to build an app only to have the ability to send push notifications. Now websites can send push notifications directly, even when the user is not surfing the website.
Awesome! The problem is that web push notifications work on Android, but not on iOS!
Inspect service workers with Chrome
If you work with the Push API or service workers in general you know that debugging can be a pain. Fortunately Chrome has two hidden gems that can save you many headaches.
Update the service worker and the scripts imported with importScripts
If you change the Javascript code of a service worker, the browser may not apply the update immediately (as we have already discussed).
In order for the update to take effect you need to:
Opera 42+ supports push notifications
Opera has just added support for push notifications.
Unable to generate ICNS file for push notification package [solved]
If you are struggling with the error above, but all your icons of the push package are of the correct size, you have probably set the wrong DPI.
How to enable (or block) push notifications from your browser preferences
Many browsers can deliver push notifications even when a website is closed. Learn how to choose which websites are allowed to send you push notifications.
The hidden cost of free push notifications services
Pushpad offers a free tier, but it’s not a free service. So why should you prefer a paid service to a free one?
More features? Better support? I don’t know, I leave that to you. The aim of this post is to underly that free services might have an hidden cost that you must consider before making a choice.
Safari push notifications stop working after some time
These days we have investigated an issue related to Safari.
Sometimes it happens that you subscribe to the push notifications of a website, but after some time you don’t receive notifications anymore.
At first we thought that our system had a bug, but it’s not like that.
Send notifications in batch with the Push API
APNs an GCM have always provided a way to send notifications in batch.
It would be useful to see this feature for the Push API, which unfortunately doesn’t have it yet, meaning that you have to make an HTTP request for each endpoint. If you want to send a web push notification to N users at a time with a single API request you can still use a service like Pushpad which makes the hard work for you.