SW Push Notification Registration

Step 1: Register a SW from app.tornadored.com/apps/sw/sw.js

By visiting this page, the Service Worker from /apps/sw/sw.js should have been installed (check the console) and scoped under /apps/sw/ .

Step 2: Ask for push notification permission.

Subscribe to Push Unsubscribe to Push