Hi, we need to determine how our game was installed. Application.installMode has almost all we need but is incomplete. We can use that to reliably tell it is a development install (from Xcode) and a store install. However, TestFlight installs are indistinguishable from store installs. Native iOS apps seem to be able to check this through the receipt.
We need to know this to make sure the user has the minimum version we require for our tests. It is a safety test to avoid useless bug reports and frustration. We do expire builds we no longer support and eventually most players will update, but not all. Obviously, the actual store build versions are typically lower than the TestFlight builds, so one kind of minimum version check is insufficient.
I thought Application.installMode would return AdHoc for TestFlight installs but that is not the case. This is on Unity 2019.4.23f1 and iOS 14.5. Any suggestions? Thanks!