This demo app is displaying how to easily implement group chat in your Android app using CometChat pro SDK
- CometChat pro 1.3
- Kotlin
-
Install the latest Android studio
-
Clone the project
-
Open the project in Android studio
3.1. Possibly install missing libraries
-
Launch the project on the emulator or on the actual device
-
From the dashboard, create a new app called "Kotlin Group Chat"
-
Once created, click Explore
-
Go to the API Keys tab and click Create API Key
-
Create an API key called "Kotlin Group Chat Key" with Full Access
-
Update
API_KEY
andAPP_ID
inConstants
file with the new values
- Install on 1 emulator (or physical device) and log in as "SUPERHERO1" (which is the test user for CometChat added by default)
- Install the app again on the second device and log in as some other user ("SUPERHERO2","SUPERHERO3","SUPERHERO4" or "SUPERHERO5")
- Tap on a group to join it
- Tap again to enter the group chat
- Start chatting