PushRegistrationResult
Defined in: push/types.ts:17
Properties
Section titled “Properties”success
Section titled “success”success:
boolean
Defined in: push/types.ts:18
error?
Section titled “error?”
optionalerror?: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.