Chapter 6. Push notifications

 

You’ve released your amazing Progressive Web App (PWA) to your customers and you’re looking for a way to keep them engaged and up-to-date on your site. Where do you turn? Email? In-app notifications? Believe it or not, push notifications could be the perfect solution. In this chapter, you’ll discover the basics of push notifications and why they can increase engagement with your users. You’ll build a working example that sends push notifications using the sample application, Progressive Times. Once you’ve run through the steps in this chapter, you’ll be able to implement your own push notifications in no time.

6.1. Engaging with your users

Most modern web apps need the ability to update and communicate with their users on a regular basis. Communication channels such as social media, emails, and in-app notifications are great, but they don’t always grab the attention of the user, especially when the user navigates away from the website.

6.2. Engagement insight: The Weather Channel

6.3. Browser support

6.4. Your first push notification

6.5. Third-party push notifications

6.6. Summary