Skip to main content

React Native Chat SDK v4 — LLM docs index (Latest)

Low-level (headless) React Native chat + calling client — no UI. Package @cometchat/chat-sdk-react-native@4. This page is a React-Native-SDK-v4-only routing index for AI agents — a scoped alternative to the site-wide /docs/llms.txt.

How to use this index

Each link points to the docs page; append .md to its URL to fetch the clean Markdown twin (verbatim code + method signatures, parameters, and listener contracts). Pick the page for the intent, then read the API there.
  • Convention: any docs page URL + .md → raw Markdown.
  • Fallback: if a .md twin 404s, fetch the same URL without .md (HTML). Never read a package .d.ts and never answer APIs from memory.

Platform rules — headless, and React Native

This is the SDK, not the UI Kit: it ships no components. You own every view. Also:
  • @react-native-async-storage/async-storage is required — the SDK persists session state through it and ships it as a direct dependency, so RN autolinking needs it present and pod-installed. On Android, async-storage v3 also needs the local_repo Maven entry in android/build.gradle or the build fails.
  • No DOM. There is no window/document/localStorage; render with React Native primitives and drive them from the listener callbacks below.
  • Listeners must be removed on unmount. Every add*Listener(id, …) needs the matching remove*Listener(id) — leaked listeners are the top source of duplicate-message bugs.
  • Building UI from scratch is a lot of work. If the goal is “add chat”, prefer the React Native UI Kit and drop to this SDK only for custom UI or headless/background logic.

Hot path — usually no fetch needed

For a plain integration the install, init → login, and the core sendMessage / receive-message listener flow are stable; a well-built agent skill bakes them. Fetch below only for exhaustive parameters, long-tail methods, group/user management, calling, or edge-case listeners.

Getting started / integration

Messaging

Calling

Users

Groups

AI, campaigns & push

Resources

Migration & overviews