ClarioDesk singleton. subscribe* methods return an
unsubscribe function; the React hooks mirror each subscription.
Lifecycle
identify writes unverified display labels. With a token or
provider it performs Verified identity. Use
clearIdentity() before verified logout/switch; reset() deprovisions only
this installation.
Tickets & messages
pending: true is optimistic; failed: true means rejected, so
render tap-to-retry with retryMessage. Offline sends stay pending and
auto-flush on reconnect.
Live subscriptions
Each returns an unsubscribe function.Hooks
The same data, idiomatic for React (separate entry, no React dep in core):CSAT
Push
Attachments
Types
All types are exported:Ticket, Message, Attachment, OutgoingAttachment,
readStateOf, ClarioDeskError, and the enums above.
This surface mirrors the Flutter SDK 1:1. Same method
names, same semantics. The Swift SDK implements the
same contract in Swift idioms. If a capability behaves differently across the
SDKs, itβs a bug.