This article details how the 4.x SDK determines the App ID value.

Environment

Mobile Services
Mobile SDK 4.x

Question

How do the Mobile SDKs determine the App ID?

Answer

The general structure of the App ID generated by any SDK is as below:

AppName ShortVersion (Version)

The approach to populate App ID structure depends on the platform. Below are details on how iOS and Android SDK populates it:

iOS:

For populating "AppName" in the structure, Adobe SDK looks for "CFBundleName" within the application bundle. If it is empty, "CFBundleDisplayName" is used.

CFBundleName/CFBundleDisplayName CFBundleShortVersionString (CFBundleVersion)

Android:

Android uses below information for populating the structure:

applicationLabel versionName (versionCode)

Note: "ShortVersion" in the App ID structure is optional.

Additional resources

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy