1. Add the Swift package

    Package URL and setup instructions are pending publication.

  2. Connect signed-in accounts

    Have your server use a stable account ID to request a Ternloom session for each signed-in user. Register that user’s StoreKit account UUID in the same request.

  3. Place the invite sheet

    Add an Invite action in a reachable spot, such as Settings. The invite sheet lets users share their link or copy their code.

  4. Wire up both claim paths

    Configure your app’s Associated Domains entitlement for the invitation host. Ternloom serves the site association file. Route incoming links to the SDK and make code entry reachable before purchase.

  5. Connect StoreKit 2

    Pass appAccountToken when purchasing and configure App Store Server Notifications V2 for the app. If the app already has a receiver, preserve its endpoint and use a forwarding path.

  6. Verify a sandbox purchase

    Claim an invite with a signed-in test account, then make a sandbox purchase with its account token. Check that the attached count and purchase totals increase in the report API. Repeat with a renewal.

Universal Links setup StoreKit purchase token Server notifications