🚀 CometChat Android SDK v5 is now available! It removes the Gson dependency, adds Parcelable support, and introduces structural equality. Try the v5 →
AI Integration Quick Reference
AI Integration Quick Reference
Get from: CometChat Dashboard → Your App → API & Auth Keys
Requirements
| Requirement | Minimum Version |
|---|---|
| Android API Level | 21 |
| Android API Level (with Calls SDK) | 24 |
| Java | 8 |
| AndroidX | Required |
Getting Started
Get your credentials
Sign up for CometChat and create an app. Note your App ID, Region, and Auth Key from the Dashboard.
Install and initialize
Add the SDK to your project and initialize it with your credentials. See Setup SDK.
Authenticate users
Log in users with Auth Key (development) or Auth Token (production). See Authentication.
Features
Messaging
1:1 and group chat, threads, reactions, typing indicators, read receipts, file sharing, and interactive messages.
Voice & Video Calling
Ringing flows, direct call sessions, standalone calling, recording, and screen sharing.
Users
Create, retrieve, and manage users. Track online/offline presence and block/unblock users.
Groups
Public, private, and password-protected groups with member management, roles, and ownership transfer.
Sample Apps
Import the app into Android Studio and follow the steps mentioned in theREADME.md file.
Java
Java sample app
Kotlin
Kotlin sample app
UI Kits
Refer to the Android UI Kit for pre-built, customizable components.Resources
Key Concepts
UIDs, GUIDs, auth tokens, and core SDK concepts
Message Structure
Message categories, types, and hierarchy
Changelog
Latest SDK version and release notes
Upgrading from V3
Migration guide for V3 users
Publishing to Play Store
Steps to publish your Android app
Next Steps
Setup SDK
Detailed installation and initialization guide for the Android SDK
Key Concepts
Understand core concepts like users, groups, messages, and conversations
Authentication
Learn about secure authentication with Auth Tokens for production apps
Send Messages
Start sending text, media, and custom messages to users and groups