Skip to main content
Search Messages lets users locate specific messages across conversations and groups using keyword search, then navigate directly to the result. Before starting, complete the Getting Started guide.

Components


Integration Steps

1. Search Messages Screen

Create a dedicated search screen using CometChatSearch component.

2. Trigger Search from Messages Screen

Add a search button to your messages header that navigates to the search screen.

3. Highlight Search Results

When navigating from search results, pass searchKeyword to highlight matching text in messages.

4. Navigation Setup

Add the search screen to your navigation stack.

Feature Matrix


Next Steps

Message List

Render real-time message threads.

Threaded Messages

Implement threaded message replies.

All Guides

Browse all feature and formatter guides.

Sample App

Full working sample application on GitHub.