---
title: originalAppVersion
framework: storekit
role: symbol
role_heading: Instance Property
path: storekit/apptransaction/originalappversion
---

# originalAppVersion

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

## Declaration

```swift
let originalAppVersion: String
```

## Mentioned in

Supporting business model changes by using the app transaction

## Discussion

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

- [bundleID](storekit/apptransaction/bundleid.md)
- [appVersion](storekit/apptransaction/appversion.md)
- [appID](storekit/apptransaction/appid.md)
- [appVersionID](storekit/apptransaction/appversionid.md)
