Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -1081,6 +1081,7 @@
"group": "Chat",
"pages": [
"ui-kit/react-native/core-features",
"ui-kit/react-native/offline-support",
"ui-kit/react-native/extensions",
"ui-kit/react-native/ai-features"
]
Expand Down Expand Up @@ -3485,7 +3486,8 @@
"sdk/react-native/transient-messages",
"sdk/react-native/delivery-read-receipts",
"sdk/react-native/mentions",
"sdk/react-native/reactions"
"sdk/react-native/reactions",
"sdk/react-native/offline-support"
]
},
"sdk/react-native/calling-overview",
Expand Down
1 change: 1 addition & 0 deletions sdk/react-native/llms-react-native-v4.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@
## 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

Check warning on line 35 in sdk/react-native/llms-react-native-v4.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/react-native/llms-react-native-v4.mdx#L35

Did you really mean 'autolinking'?
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

Check warning on line 40 in sdk/react-native/llms-react-native-v4.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

sdk/react-native/llms-react-native-v4.mdx#L40

Did you really mean 'unmount'?
`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](/ui-kit/react-native/overview) and drop to this SDK only for custom UI
Expand Down Expand Up @@ -74,6 +74,7 @@
- [Delivery & Read Receipts](/sdk/react-native/delivery-read-receipts)
- [Mentions](/sdk/react-native/mentions)
- [Reactions](/sdk/react-native/reactions)
- [Offline Support](/sdk/react-native/offline-support)

## Calling
- [Calling — Overview](/sdk/react-native/calling-overview)
Expand Down
Loading
Loading