User Interface Overview

- Conversation List – shows users/groups with last message, presence, and typing indicators.
- Message View – header + real-time message list.
- Composer – send text, media, reactions, and replies.
Initialize and log in first via React Native Integration.
Step-by-Step Guide
Step 1: Render the conversation list
Handle selection to capture whether the item is a user or group.Step 2: Build the message view
Compose Header + Message List + Composer and wire the back button to clear selection.Step 3: Toggle list vs. chat
Hide the list when a chat is open; show it again when the header back button is tapped.ConversationMessage after login inside your navigator or root screen.
Run the app
Tips
- Use
showBackButtonto return to the list on mobile. - Swap the
TrailingViewprop onCometChatMessageHeaderto add actions (info, block, call). - Customize the list and message styling with the Theme APIs.