CometChat Pro enables you to add voice, video & text chat for your website & app.
This guide demonstrates how to add chat to a Javascript application using CometChat. Before you begin, we strongly recommend you read the Key Concepts guide.
Signup for CometChat and then:
- Create a new app: Enter a name & hit the + button
- Head over to the API Keys section and click on the Create API Key button
- Enter a name and select the scope as Auth Only
- Now note the API Key and App ID
First, install via npm
npm install @cometchat-pro/react-native-chat@2.0.8 --save
Then, import the CometChat
object wherever you want to use CometChat
import { CometChat } from "@cometchat-pro/react-native-chat"
To learn more, please refer to our Documentation: Documentation