How to upgrade your SDK version

Last Updated:

 

Upgrading Android to a new SDK version

To upgrade your SDK version, perform the following step(s):

  • In the gradle file, change the dependency to the latest SDK version number. You can copy the version number from the “dependencies” statement listed inside your application.

If you are using pro-guard, make sure you have the most up to date pro-guard statements as described above.

To verify your SDK version, you can validate it within your gradle file via Android Studio.

Note: When upgrading the SDK major version (i.e from 1.50.00 > 1.51.00), it’s mandatory to increase your app version number as well. This should allow you full functionality and to help keep track of the SDK versions throughout your app releases. 

Review the release notes for any backward compatibility issues.

 

Upgrading iOS to a new SDK version

To upgrade your SDK version, perform one of the following steps:

  • If you are using pod files, use the Cocoapod command line to update the SDK with the new version: ‘pod repo update’

OR

  • If you have manually downloaded the mobile SDK, replace the SDK with the new version provided above.
Warning: To avoid issues and crashes, update your SDK to the latest version before you compile your app. If you manually downloaded your SDK framework locally, you should make sure you’re using the latest SDK version.

To verify your SDK version, you can read your Podfile.lock and check the PODS: 'Pendo' value.

Note: When upgrading the SDK major version (i.e from 1.50.00 > 1.51.00), it’s mandatory to increase your app version number as well. This should allow you full functionality and to help keep track of the SDK versions throughout your app releases.

Review the release notes for any backward compatibility issues.