Block subscription purchases for Testflight releases - Allowed for App Review?

Our app is available both on the App Store and Testflight. We have a working subscription system with subscriptions that are linked to user accounts in our app.

We would like to disable subscription purchases for Testflight releases. So users with an active subscription can use this subscription in Testflight, but users cannot sign up for a subscription in Testflight. Premium features would only be accessible to users with an active subscription.

I think we can do this technically using something like this: let isTestFlight = Bundle.main.appStoreReceiptURL?.lastPathComponent == "sandboxReceipt"

We are wondering if this is:

a) Allowed by Testflight guidelines?

b) Allowed by App Review guidelines?

c) If there is even a better way to do this?

Answered by endecotp in 797560022

I fear that your users' existing "real" subscriptions will not be seen in the TestFlight version, but I could be wrong about that.

You don't need to worry about app review.

Accepted Answer

I fear that your users' existing "real" subscriptions will not be seen in the TestFlight version, but I could be wrong about that.

You don't need to worry about app review.

Block subscription purchases for Testflight releases - Allowed for App Review?
 
 
Q