Advertisement

← poker-tutor

docs/OFFER-CODES.md

3.1 KB Download file
# Free codes for friends and reviewers

How to give somebody Poker Tutor (or the Cash app) without them paying, and why it works the way it does.

## The short version

1. The codes are **Apple's**, made in App Store Connect. The app has no codes of its own.
2. A friend opens the app, reaches the price screen (after the free hands, or More → "See the
   price"), taps **Redeem a code**, and types the code into Apple's sheet.
3. Apple starts their subscription at no charge for the period you chose (up to a year). The
   table opens at once; nothing in the app is different from a paying subscriber.

## Why not a code the app checks itself

Apple's review rule 3.1.1 bans apps from unlocking features with "their own mechanisms, such as
license keys". An app with a secret word that opens the table comes back rejected, and the rule
is applied even when the codes are free. Apple's offer codes are the sanctioned way, they cost
nothing, and they need no server.

## Making a code (Ken, in App Store Connect — once per app)

The subscription has to exist and the app has to be live ("Ready for Sale") before a code can
be redeemed, so this is a launch-week job, not a pre-launch one.

1. Sign in at appstoreconnect.apple.com as ken@thedigitaladlab.com (NOT the gmail one).
2. My Apps → the app → Subscriptions (left column) → the yearly subscription.
3. Scroll to **Offer Codes** → the **+** button.
4. Reference name: anything you will recognise later, e.g. "Friends 2026".
5. Eligibility: tick **New subscribers** (and Expired, if you want lapsed people to use it too).
6. Offer type: **Free**. Duration: **1 year** (the longest Apple allows).
7. Codes: choose **Custom code** and type a word, e.g. FRIENDSOFKEN. Set a redemption limit
   (how many people may use it) and an end date, or none. One word covers everybody; or choose
   **One-time use codes** to get a batch of single-use codes as a spreadsheet instead.
8. Save. Codes work about an hour later.

To stop a code: same page → tick it → Deactivate. Nobody who already used it loses anything.

The four apps are four subscriptions, so a code is made per app: com.thedigitaladlab.pokertutor.yearly (Poker Tutor) and com.thedigitaladlab.pokertutor.cash.yearly (Poker Tutor Cash).

## What to tell the person you give it to

- Install the app, play, and when the price screen appears tap **Redeem a code**. (Or go to
  More → "See the price" straight away.)
- The free period ends after the duration you chose. **It then renews at the normal price unless
  they cancel** in their Apple Account settings. Tell them that plainly. Apple reminds them
  before it happens, but do not rely on it.
- On a Mac there is no sheet: the button sends them to apps.apple.com/redeem, and they tap
  Restore in the app afterwards. (There is no Mac app yet.)
- Android has no subscriptions at all yet, so no codes either.

## Testing it before launch

App Store Connect can make **sandbox codes** on the same page. A TestFlight build redeems them
through the same button. Xcode's local StoreKit file (App/*.storekit) does not test codes.