There are different ways to keep your user engaged and up to date such as by email, in-app notifications, and push notifications! Native mobile apps have been engaging their users by push notifications for a long time. This feature was not supported on the web until PWAs were born. Thanks to new standard APIs such as Notification API and Push API, which are built on top of Service Worker, it’s possible to send push notifications to web users.
In this chapter, you’ll discover the basics of push notifications and will build a working example for the existing application, PWA Note. You’ll see how ...