Skip to main content

Documentation Index

Fetch the complete documentation index at: https://cometchat-22654f5b-docs-android-v6-beta2.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Migration Steps:
  1. Update Maven URL to https://dl.cloudsmith.io/public/cometchat/cometchat/maven/
  2. Update dependency to com.cometchat:chat-sdk-android:4.2.0 (or latest v4)
  3. Change all imports from com.cometchat.pro.* to com.cometchat.chat.*
  4. Rebuild and test your application
Key Changes:
  • Package name changed from com.cometchat.pro to com.cometchat.chat
  • Maven repository URL updated
  • API remains largely compatible with v3
Full guide: Follow the setup instructions for detailed v4 setup.
Upgrading from v3.x to v4 is straightforward. The API surface is the same — only the Maven URL, dependency artifact, and import package names changed.

Maven URL Change

allprojects {
  repositories {
    maven {
      url "https://dl.cloudsmith.io/public/cometchat/cometchat/maven/"
    }
  }
}

Dependency Change

dependencies {
  implementation 'com.cometchat:chat-sdk-android:4.2.0'
}

Change the Import Class Packages

In v3, the import class package name starts with com.cometchat.pro.*. Change it to com.cometchat.chat.* everywhere in the project and you are done with the v3 to v4 migration.

Next Steps

Setup

Review complete v4 setup instructions

Send Message

Test messaging functionality after migration

Calling Setup

Update calling features to v4

Real-Time Listeners

Verify event listeners work correctly