Skip to content

PushRegistrationResult

Defined in: push/types.ts:17

success: boolean

Defined in: push/types.ts:18


optional error?: unknown

Defined in: push/types.ts:27

Present when success is false — e.g. denied/unsupported, or a network/auth failure talking to the Chat API. Already logged to the console; exposed here too so your UI can react (e.g. show “push notifications aren’t available”). register()/unregister() never reject — push is a nice-to-have that must never break the rest of your app.