> ## Documentation Index
> Fetch the complete documentation index at: https://cometchat-22654f5b-feature-react-native-sdk-quotedmessage-a.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 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](/sdk/android/setup) instructions to upgrade to the latest V4 version.

## Maven URL Change

<Tabs>
  <Tab title="Groovy">
    ```java theme={null}
    allprojects {
      repositories {
        maven {
          url "https://dl.cloudsmith.io/public/cometchat/cometchat/maven/"
        }
      }
    }
    ```
  </Tab>
</Tabs>

## Dependency Change

<Tabs>
  <Tab title="Groovy">
    ```java theme={null}
    dependencies {
      implementation 'com.cometchat:chat-sdk-android:4.1.7'
    }
    ```
  </Tab>
</Tabs>

## 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
