# Check this app against App Store Review Guideline 3.1.1(a): Link to Other Purchase Methods

Links to buy digital goods elsewhere need one of Apple's link entitlements, point to a permitted destination and are used only where granted, except on the US storefront.

Go through this codebase for each problem below. For each one that applies, fix it on a new git branch with the steps for this app's stack (React Native and Expo, Swift, or Flutter). If none apply, say so and why.

## The app may send people to buy outside the App Store

Often a rejection.

**What Apple wants:** Outside the United States, apps can't steer people to other ways of paying for digital goods unless they hold one of Apple's link entitlements for that region, and then only with a link to a permitted destination (Guideline 3.1.1(a)). On the US storefront such links are allowed, and this app may be sold elsewhere too.

**How to fix it:** Show the outside-purchase link only on the US storefront, or remove it.

Steps for React Native, Expo and Flutter:

1. Read the App Store storefront at runtime (RevenueCat and react-native-iap expose it) and show the link only for the United States.
2. Everywhere else, sell through In-App Purchase only.
3. If you hold one of Apple's link entitlements for a region, follow its rules there.

Steps for Swift:

1. Read the App Store storefront at runtime (Storefront.current in StoreKit) and show the link only for the United States.
2. Everywhere else, sell through In-App Purchase only.
3. If you hold one of Apple's link entitlements for a region, follow its rules there.

## The App Store listing may point to buying elsewhere

Often a rejection.

**What Apple wants:** The listing follows the same rule as the app: outside the US storefront, it can't send people to other ways of paying for digital goods (Guideline 3.1.1(a)). The app is sold outside the US (or AppScend couldn't tell), and one listing language shows in many countries.

**How to fix it:** Remove buy-elsewhere wording and links from the listing.

Steps:

1. Edit the description, promotional text and What's New to remove outside-purchase wording and links.
2. Describe what the In-App Purchases include instead.

## The outside-purchase link may break the entitlement's rules

Often a rejection.

**What Apple wants:** Apple's purchase link entitlements allow a link to a permitted destination (which ones depends on the region) that tells people where and how to buy, and that it may cost less there (Guideline 3.1.1(a)). Misleading marketing, scams or fraud around the link get the app removed, and the developer may be removed from the program.

**How to fix it:** Point the link to a destination your entitlement permits, such as your own purchase page, and describe the offer plainly.

Steps:

1. Make the link open your own purchase page, or another destination your entitlement permits in that region.
2. Keep the wording factual: where and how to buy, and that it costs less only if it does.
3. Show the link only in the storefronts your entitlement covers.

## The purchase link may show where the entitlement doesn't apply

Often a rejection.

**What Apple wants:** Apple's purchase link entitlements, including the one for music streaming apps, work only in the iOS and iPadOS storefronts they were granted for (Guideline 3.1.1(a)). In every other storefront except the US, the app can't point people to other ways of buying.

**How to fix it:** Show the link only where StoreKit says it's allowed, or on the US storefront.

Steps:

1. Before showing the link, check StoreKit's ExternalPurchaseLink.canOpen, or compare the current storefront with your entitlement's regions.
2. Hide the link everywhere else, and sell through In-App Purchase there.

---

AppScend checks an app against every guideline at once, on the developer's Mac: `npx appscend scan --json` in the app's root folder (docs: https://appscend.ai/docs).

Source: https://appscend.ai/guidelines/3-1-1-a
