SW Push Notification Registration
Step 1: Register a SW from
By visiting this page, the Service Worker from
should have been installed (check the console) and scoped under
Step 2: Ask for push notification permission.
Subscribe to Push
Unsubscribe to Push
- You can also do this manually below and watch the console.
- The console emits a JSON payload that can be used by a backend to push an event to the user.