Home:ALL Converter>How to differentiate App Store, TestFlight, and IPA installs on iOS app?

How to differentiate App Store, TestFlight, and IPA installs on iOS app?

Ask Time:2019-08-13T03:58:51         Author:David Reidsma

Json Formatter

I have an iOS app and need a way to determine programmatically if the app was installed from the App Store, from TestFlight, or from an IPA file from the internet.

I've tried checking the last part of the app store receipt url as some people have suggested regarding different types of app installs, but both IPA files and TestFlight installs have "sandboxReceipt" as the last path component of the receipt url.

Expected results are, of course, the ability to determine how my app was installed.

Author:David Reidsma,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/57467543/how-to-differentiate-app-store-testflight-and-ipa-installs-on-ios-app
yy