Skip to main content
Key changes from v3 to v4:
  • Chat SDK: npm i @cometchat/chat-sdk-react-native
  • Calls SDK: npm i @cometchat/calls-sdk-react-native
  • Import: import { CometChat } from '@cometchat/chat-sdk-react-native'
  • Import Calls: import { CometChatCalls } from '@cometchat/calls-sdk-react-native'
Upgrading from v3 to v4 is straightforward — the API surface is the same, only the package names and imports changed. Follow the v4 setup instructions first, then update your dependencies and imports as shown below.

Update Dependencies

Update Import Statements

Find and replace all import statements across your project:
The API methods, class names, and listener interfaces are unchanged between v3 and v4. Once you update the packages and imports, your existing code should work without further modifications.

Next Steps

Setup SDK

Install and configure the CometChat React Native SDK

Changelog

Latest SDK version and release notes

Authentication

Set up user authentication with v4

Key Concepts

Learn the core concepts behind CometChat v4