mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-20 11:06:06 +00:00
31c9f40550
While TREK Cloud's orders are closed, the plan picker on iOS offers the subscriptions only to builds that buy in the App Store sandbox (TestFlight, App Review, Xcode). That was read from the receipt's file name alone, which App Review's build did not carry: the reviewer saw "TREK Cloud opens soon" and no way to buy, and the app was rejected under 2.1(b) because its in-app purchases could not be found. The environment now comes from the signed app transaction (StoreKit 2, iOS 16 and later), with the receipt's file name as the fallback on iOS 15 or when the app transaction cannot be read. A production build still sees the plans without a buy button until orders open, and the cloud refuses a production purchase before the opening as before.