We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
is_testflight
is_sideloaded
Relates to PostHog/posthog-android#113 Sets a property if the running version was installed via testflight or its sideloaded.
The text was updated successfully, but these errors were encountered:
on iOS, you can check the appStoreReceiptURL https://developer.apple.com/documentation/foundation/bundle/1407276-appstorereceipturl https://stackoverflow.com/questions/26081543/how-to-tell-at-runtime-whether-an-ios-app-is-running-through-a-testflight-beta-i
appStoreReceiptURL
Also https://github.com/ravitejaavv/store_checker/blob/master/ios/Classes/SwiftStoreCheckerPlugin.swift mobileprovision is another hint, if its not none of them, most likely is sideloaded.
mobileprovision
Sorry, something went wrong.
On Android, you can check packageManager.getInstallerPackageName(packageName), its null if its side loaded, or its the name of the installer (store). Its not possible to know at runtime if the Android app is installed for internal testing only since its the same binary. Here is the list of installer names https://github.com/ravitejaavv/store_checker/blob/feca50e3168763828e7aa024bb0b3c40b9ce42ab/lib/store_checker.dart#L31-L69
packageManager.getInstallerPackageName(packageName)
No branches or pull requests
Description
Relates to PostHog/posthog-android#113
Sets a property if the running version was installed via testflight or its sideloaded.
The text was updated successfully, but these errors were encountered: