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
- Groovy
allprojects {
repositories {
maven {
url "https://dl.cloudsmith.io/public/cometchat/cometchat/maven/"
}
}
}
Dependency Change
- Groovy
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