r/iosdev • u/Keema2026 • 18d ago
Help Beginner question: how do you give TestFlight testers free access to a subscription app without hiding the subscription from App Review?
Hi all - I'm not a developer by background and this is my first app, so please go easy on me. I'm trying to learn the normal way to handle this before our first update.
The app has one yearly auto-renewable subscription with a free trial. For the past couple of months, about 15-20 people have been testing it through TestFlight, and they've had everything free.
How we did that: the TestFlight builds are compiled with a build setting (a Swift compilation condition) that switches the subscription off. In those builds the app never asks the App Store about purchases, never shows the subscription or the trial offer, and Settings just says it's free while you're testing.
For the App Store, we made a separate build from the same code without that setting, so the subscription works normally, and submitted that one for review. App Review saw the subscription and approved it. So the build Apple reviewed is a different upload from the one our testers have been using.
Now I'm wondering whether to keep doing it this way for every update (two builds each time), or whether there's a better approach. What I think I've learned so far (please correct me if I'm wrong):
- TestFlight and App Review both use the sandbox, so the app can't tell a tester from a reviewer while it runs. That's why we used a separate build.
- If one build opened everything in the sandbox, the reviewer wouldn't see the subscription, and guideline 2.1(b) says purchases have to be visible to the reviewer.
- TestFlight subscriptions renew once a day, up to 6 times, and then stop.
The options I can see:
- Keep doing two builds from the same code: one for TestFlight with the subscription switched off, and one with it on for App Review and the App Store.
- One build, and testers subscribe in the sandbox for free, then subscribe again whenever it stops renewing.
- One build where testers subscribe once in the sandbox and are never locked out after that.
What do you do with your own testers? Is two builds a normal thing to do, or is there a standard approach I'm missing? Anything you'd recommend I read would help too. I asked on the Apple Developer Forums but haven't had a reply yet.
Thanks for any help.
2
u/jwolfson23 18d ago
My app is free with the optional premium subscription. I just used one TestFlight build and told people via other channels that premium was free in the TestFlight build (nothing would be charged if they subscribed to premium). When it came time to end my beta builds, I released a final version that basically locked the app upon opening (server side switch), with a screen that said something like: “thank you for beta testing, please install from the App Store using the link below. Your settings, etc. carry right over”.
I found this to be the easiest and least disruptive way, but like you, I am still learning best practices. Hope this helps, even if a little.
1
u/dahiya_xa 17d ago
you don't really need the build flag. purchases in testflight builds already run in the sandbox, so testers can "buy" the sub and never get charged. that way testers and review see the exact same build. if you want some of them to keep pro after launch, offer codes are the usual way to do it