How can you manage push notifications when a user uses multiple accounts on the same browser? What can you do if multiple users use the same device / browser?
push-api
Web Push: wake up a phone from deep sleep with urgent notifications
Is it possible to instantly deliver a web push notification to notify a phone call or to deliver any other time-sensitive notification?
Web push notifications: user log in and log out
How can you associate a push subscription to a specific user? How can you implement log-in and log-out for web push notifications?
Add analytics to web push notifications
How can you collect analytics for web push notifications (e.g. clicks)?
Difference between PushManager subscribe and getSubscription
These two methods defined by the Push API are used to get the push subscription from the browser. What is the difference between them?
Web Push Notifications: store the subscription in the backend / database
When a user is visiting your website and subscribes to notifications, you get a push subscription, which must be stored somewhere (in a database) in order to send notifications to that user.
Web Push: how to check if a push endpoint is still valid
How can you verify that a push subscription is still valid (and not invalid or expired)? How can you detect if a user has unsubscribed and the subscription is no longer valid?
Chrome Push Notifications: This site has been updated in the background
What can you do if you receive that notifications? What does it mean? How can you fix it?
Push API: detect browser support (feature detection)
How can you find out if the current browser supports the Push API and Web Push Notifications?
Web Push: send a notification to all users
Sometimes you just need to send the same notification to all users that have subscribed to your website notifications. Let’s see how to achieve that.