Contents

originalAppVersion

The app version that the customer originally purchased from the App Store.

Declaration

let originalAppVersion: String

Mentioned in

Discussion

Use this value to determine which app version the customer first purchased or downloaded. This value is comparable to the appVersion value.

The originalAppVersion remains constant and doesn’t change when the customer upgrades the app. The string value contains the original value of the CFBundleShortVersionString for apps running in macOS, and the original value of the CFBundleVersion for apps running on all other platforms.

In the sandbox testing environment, the originalAppVersion value is always 1.0.

For more information about using the originalAppVersion, see Supporting business model changes by using the app transaction.

See Also

Getting app and version information