Requires the
push bundle and configured provider credentials (APNs, FCM, or Web Push) in the dashboard. See the feature overview for setup.Registering Devices
UseusePushRegistration with the adapter for your platform. Call register() in response to a deliberate user action — not on mount — because requesting OS push permission is a one-shot prompt that users cannot undo.
register(). The public VAPID key your service worker needs is available from the unauthenticated GET /vapid-public-key endpoint.
Unregistering on Logout
Callunregister() in your logout flow so the device stops receiving notifications after sign-out:
Next Steps
Feature Overview
Dashboard setup, sending, and device lifecycle
usePushRegistration
The full hook API and platform adapters

