Skip to main content
Version: v4

Upgrading from V3

Upgrading from v3.x to v4 is fairly simple. Below are the major changes that are released as a part of CometChat v4:

Please follow the setup instructions to upgrade to the latest V4 version.

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.0.10'
}

Change The Import Classes Packages

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