PWA Push Notifications Demo
Test out push notifications in your SvelteKit PWA
Installation
Permission status: default
App is installed or not installable in this browser
Instructions:
- Click "Request Permission" to allow notifications
- Click "Subscribe to Push Notifications" to receive server-sent notifications
- Click "Send Push from Server" to trigger a notification to all subscribed clients
- On supported browsers, install the app to your home screen
Note: Push notifications work best when the app is installed.
iOS Safari has limited support for PWA notifications.
The "Send Push from Server" button will send notifications to ALL subscribed clients.
Debug Log:
3:55:38 AM: ServiceWorker API not supported in this browser