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
.mdtwin 404s, fetch the same URL without.md(HTML). Never read a package.d.tsand 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-storageis 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 thelocal_repoMaven entry inandroid/build.gradleor 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 matchingremove*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.
- Setup: Setup
- Auth/lifecycle: Authentication
- Core send/receive: Send Messages · Receive Messages · All Real Time Listeners
Getting started / integration
Messaging
- Send Messages
- Upload Files & Send Attachments
- Receive Messages
- Message Filtering
- Retrieve Conversations
- Threaded Messages
- Edit Message
- Delete Message
- Flag Message
- Delete Conversation
- Typing Indicators
- Transient Messages
- Delivery & Read Receipts
- Mentions
- Reactions
Calling
Users
Groups
- Groups — Overview
- Retrieve Groups
- Create A Group
- Update A Group
- Join A Group
- Leave A Group
- Delete A Group
- Retrieve Group Members
- Add Members To A Group
- Ban / Kick Members
- Change Member Scope
- Transfer Group Ownership
AI, campaigns & push
Resources
- Message Structure and Hierarchy
- All Real Time Listeners
- Rate Limits
- Connection Status
- Managing Web Sockets Connections Manually