Skip to main content

<GalinumProvider>

useGalinum()

Must be called inside a GalinumProvider (throws otherwise). identify and track never throw — failures are swallowed and logged in development only.

<InAppMessages>

Messages require a fresh correlated decision for each entry, with at most one actual render (see In-app messages). There is no polling prop. The built-in renderer follows content.presentation: "toast" renders the compact bottom-right card, "modal" renders a centered announcement with a full-screen backdrop. Media rides along in both (see In-app messages). Feedback returns a receipt whose status is queued, acknowledged, rejected or failed. Use flushFeedback to process a bounded outbox page, then resend the same tuple to read its status. Records keep their original user and project on retries. Terminal admission needs a durable same-entry shown predecessor. Invalid success receipts remain retryable; failed admission does not close the built-in renderer.

Types

The SDK also exports parseUserAgent and collectAutoContext if you want to inspect what would be collected.