> ## Documentation Index
> Fetch the complete documentation index at: https://cometchat-22654f5b-docs-v6-beta2-flutter-uikit.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Upgrading From V3

<Warning>
  **Deprecated:** The Ionic Cordova SDK is deprecated. For new Ionic/Cordova applications, please use the [JavaScript SDK](/sdk/javascript/upgrading-from-v3) which provides full compatibility with Ionic applications.
</Warning>

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/ionic-legacy/setup) instructions to upgrade to the latest V3 version.

## Dependency Change

### Chat SDK

<Tabs>
  <Tab title="JavaScript">
    ```bash theme={null}
    npm i @cometchat/chat-sdk-ionic
    ```
  </Tab>
</Tabs>

### Calls SDK

<Tabs>
  <Tab title="JavaScript">
    ```bash theme={null}
    npm i @cometchat/calls-sdk-ionic
    ```
  </Tab>
</Tabs>

## Change The Import Statements

### Chat SDK

<Tabs>
  <Tab title="JavaScript">
    ```javascript theme={null}
    import { CometChat } from "@cometchat/chat-sdk-ionic";
    ```
  </Tab>
</Tabs>

### Calls SDK

<Tabs>
  <Tab title="JavaScript">
    ```javascript theme={null}
    import { CometChatCalls } from "@cometchat/calls-sdk-ionic";
    ```
  </Tab>
</Tabs>
