← Back

Push Notifications

Request permission, fire a local notification, and receive a real Web Push.

Permissiondefault
Push subscriptionnone
The service worker isn't registered in this context. Push only works on the published site, not inside the Lovable editor preview.
iOS Safari: install to home screen first (Share → Add to Home Screen), then open the installed app and subscribe from there. iOS blocks push in regular browser tabs.
This test lab sends payload-less pushes; the service worker shows a canned message. Sending is intentionally unauthenticated — it's a personal sandbox, not a production endpoint.