> ## Documentation Index
> Fetch the complete documentation index at: https://docs.argyle.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Upgrade

Argyle periodically releases updates to its SDK's. These updates can include new functionalities, bug fixes, and security updates. For each new Link release, we recommend upgrading your SDK installation as soon as possible.

* To stay notified about new Link releases, subscribe to our [Changelog](https://changelog.argyle.com/). All Link SDK versions are also made available or will soon be made available on our public [Github repository](https://github.com/argyle-systems).
* For first time integrations, visit our [Initialization](/link/initialization) page.

## Web

Link for Web updates automatically with each release. You do not need to take any steps to upgrade your Web integration.

<Note>
  (Exception) If you are migrating from Link 4 to Link 5, note that the script plugin changed and is now:

  ```
  <script src="https://plugin.argyle.com/argyle.web.v5.js"></script>
  ```
</Note>

## iOS

**Requirements** — iOS 14.0+, Xcode 14.0+, Swift 5.5+

* To verify your current iOS SDK version, check the `Podfile.lock` file of your Xcode project.
* Before upgrading, review our [iOS SDK release notes](https://github.com/argyle-systems/argyle-link-ios/releases) on Github for changes and information on each release.
* To avoid issues and crashes, upgrade your SDK to the latest version before you compile your app.

Previously installed using:

<Tabs>
  <Tab title="CocoaPods">
    1. Run `pod outdated` to see if a newer version of the iOS SDK is available, or refer to our [iOS SDK release notes](https://github.com/argyle-systems/argyle-link-ios/releases) on Github.
    2. If a newer version is available, update your `Podfile` to the new version. See [specifying pod versions](https://guides.cocoapods.org/using/the-podfile.html#specifying-pod-versions) for more information.
    3. Run `pod update` to install the new version.
    4. Make any necessary changes relevant to the new version, as specified in the iOS SDK release notes.
    5. Clean and rebuild your project by selecting **Product > Clean** and then **Product > Build**.
  </Tab>

  <Tab title="Swift Package Manager">
    1. Right-click on the `ArgyleLink` package under Package Dependencies in Xcode's Project Navigator and select Update Package.
    2. Make any necessary changes relevant to the new version, as specified in the [iOS SDK release notes](https://github.com/argyle-systems/argyle-link-ios/releases) on Github.
    3. Clean and rebuild your project by selecting **Product > Clean** and then **Product > Build**.
  </Tab>

  <Tab title="Manual Download">
    1. Download and replace the old SDK version with the newest version.
    2. Make any necessary changes relevant to the new version, as specified in the [iOS SDK release notes](https://github.com/argyle-systems/argyle-link-ios/releases) on Github.
    3. Clean and rebuild your project by selecting **Product > Clean** and then **Product > Build**.
  </Tab>
</Tabs>

## Android

**Requirements** — Android 8.0 (minSdk/API level 26) and above, compileSdk 34 and above

* Before upgrading, review our [Android SDK release notes](https://github.com/argyle-systems/argyle-link-android/releases) on Github for changes and information on each release.

1. Update the version number within the dependencies of your `build.gradle` [configuration file](https://developer.android.com/studio/build#top-level):

   ```
   dependencies {
     implementation 'com.argyle:argyle-link-android:5.x.x'
   }
   ```

2. [Sync your Android project](https://developer.android.com/studio/build#sync-files) to import the build configuration changes and update to the latest Android SDK version.

## React Native

**React Native Requirements** — React Native version 0.73.0 or higher

**iOS Requirements** — iOS 14.0+, Xcode 14.0+, Swift 5.5+

**Android Requirements** — Android 8.0 (minSdk/API level 26) and above, compileSdk 34 and above

* Before upgrading, review our [React Native SDK release notes](https://github.com/argyle-systems/argyle-link-react-native/releases) on Github for changes and information on each release.

Previously installed using:

<Tabs>
  <Tab title="NPM">
    1. Update `package.json` with the newer React Native SDK version.
    2. Run `npm install` to update the SDK with the new version.
    3. Run `cd ios` to navigate to the `ios` folder.
    4. Run `pod update` to update the SDK with the new version.
    5. Make any necessary changes relevant to the new version, as specified in the React Native SDK release notes.
  </Tab>

  <Tab title="Yarn">
    1. Update `package.json` with the newer React Native SDK version.
    2. Run `yarn upgrade @argyleio/argyle-plugin-react-native` to update the SDK with the new version.
    3. Run `cd ios` to navigate to the `ios` folder.
    4. Run `pod update` to update the SDK with the new version.
    5. Make any necessary changes relevant to the new version, as specified in the React Native SDK release notes.
  </Tab>
</Tabs>

## Flutter

**iOS Requirements** — iOS 14.0+, Xcode 14.0+, Swift 5.5+

**Android Requirements** — Android 8.0 (minSdk/API level 26) and above, compileSdk 34 and above

* Before upgrading, review our [Flutter SDK release notes](https://github.com/argyle-systems/argyle-link-flutter/releases) on Github for changes and information on each release.

Update the version number within the dependencies of your `pubspec.yaml` file:

```
dependencies:
  argyle_link_flutter: ^1.x.x
```
