In this tutorial we explain how to use the pushpad
gem with the noticed
gem to create multi-channel notifications in a Rails application. In particular we’ll use the noticed
gem for the notifications in general, while Pushpad will be used to deliver the web push notifications in real time, even when the website is closed.
Pushpad
Add web push notifications to Wix
In this tutorial we’ll see how you can send push notifications from your Wix website.
Web Push Notifications: multiple accounts on the same browser
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?
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?
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.
Send recurring web notifications to re-engage your users
Recurring web notifications (e.g. every day, every week, every month, etc.) can be a simple strategy to re-engage your website users.
Change the default Chrome icon (browser logo) for notifications
Is it possible to replace the Chrome logo / browser logo on notifications with the website logo?
Schedule or delay a web notification (like a reminder)
How can you create a web notification now that is displayed some time later?
Reset the denied permission for notifications (undo “Block”)
What can you do if a user blocks the notifications on your website by clicking the “Block” button in the permission prompt? How can you reset that choice? How can you display the permission prompt again?