Question

How can I check which Mobile SDK version my project uses?

Answer 

Based on the way you integrate the Mobile SDK into your project, the process may vary.

Android - Manual integration and Fabric integration

  1. Open up Android Studio project pane
  2. Switch to Android
  3. Open up Gradle Scripts > build.gradle
  4. In dependencies, find the line:
implementation 'com.zendesk:support:x.x.x'

In the example, the Mobile SDK version is 2.3.1.

iOS - CocoaPods integration

You can check the version number when you open the Podfile.lock file. You can use any text editor.

Example

PODS:
 - AnswerBotSDK (1.0.0-EAP1):
 - AnswerBotSDK/CommonUI (= 1.0.0-EAP1)
 - AnswerBotSDK/Providers (= 1.0.0-EAP1)
 - AnswerBotSDK/SDK (= 1.0.0-EAP1)
 - ZendeskSDK (= 2.2.0)
 - AnswerBotSDK/CommonUI (1.0.0-EAP1):
 - ZendeskSDK (= 2.2.0)
 - AnswerBotSDK/Providers (1.0.0-EAP1):
 - ZendeskSDK (= 2.2.0)
 - AnswerBotSDK/SDK (1.0.0-EAP1):
 - AnswerBotSDK/CommonUI
 - AnswerBotSDK/Providers
 - ZendeskSDK (= 2.2.0)
 - ZendeskSDK (2.2.0):
 - ZendeskSDK/Providers (= 2.2.0)
 - ZendeskSDK/UI (= 2.2.0)
 - ZendeskSDK/Core (2.2.0)
 - ZendeskSDK/Providers (2.2.0):
 - ZendeskSDK/Core
 - ZendeskSDK/UI (2.2.0):
 - ZendeskSDK/Core
 - ZendeskSDK/Providers

DEPENDENCIES:
 - AnswerBotSDK (= 1.0.0-EAP1)
 - ZendeskSDK

SPEC REPOS:
 https://github.com/cocoapods/specs.git:
 - AnswerBotSDK
 - ZendeskSDK

COCOAPODS: 1.6.0.beta.2

In the example, the Mobile SDK version is 2.2.0.

iOS - Manual integration

To find out the version number of each framework, navigate to the .framework file, locate and open the Info.plist file.

If you use an IDE (Integrated Development Environment), such as Xcode, look for the value for the key Bundle versions string. Xcode automatically formats the file in a table.

If you don't not use an IDE, the value to look for is CFBundleShortVersionString. 

A GitHub repository that includes both CocoaPod, and manually integrated frameworks is available in the SupportSDKSamples.

For more information, see the developer documentation for Android and iOS SDKs.

Powered by Zendesk