# Check this app against App Store Review Guideline 5.1.2(i): Consent, Sharing and Tracking

Sharing personal data with third parties, third-party AI included, needs clear disclosure and explicit consent; tracking needs App Tracking Transparency; system features cannot be required or rewarded.

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 tracks before the person allows it

Usually a rejection.

**What Apple wants:** undefined Apps may track people only after they allow it in the App Tracking Transparency prompt (Guideline 5.1.2(i)). Data sent to ad or attribution services before the answer is tracking without consent, and Apple rejects it.

**How to fix it:** Start the tracking and attribution SDKs only after the person allows tracking.

Steps:

1. Find where the SDK that talks to the hosts on this card starts: usually at launch.
2. Start it, or let it send data, only after the App Tracking Transparency prompt is answered with Allow; until then keep it in its mode without tracking, or off.
3. Run the test again: it compares what the app contacts with when the prompt shows.

## Personal data may go to a third-party AI without permission

Usually a rejection.

**What Apple wants:** Apps must say clearly when personal data is shared with a third-party AI service and get explicit permission before sharing it (Guideline 5.1.2(i)). A line in the privacy policy alone is not enough.

**How to fix it:** Before the first AI request, say which provider receives the data and ask for a clear yes.

Steps:

1. Add a consent screen before the first AI use that names the provider and what is sent.
2. Call the AI service only after the person agrees, and remember the choice.
3. Let people withdraw consent in settings, and list the provider in your privacy policy.

## The app's privacy promises may not match what it collects

Often a rejection.

**What Apple wants:** People must be told accurately how and where their data is used and who receives it (Guideline 5.1.2(i)). Promising that nothing is collected while SDKs or an AI provider receive data misleads them, and reviewers compare such claims with your App Privacy answers.

**How to fix it:** Reword the promises to match what the app and its SDKs actually collect and share.

Steps:

1. List the data each SDK and AI service receives.
2. Rewrite promises like 'we collect nothing' to say what is collected and why.
3. Make your App Privacy answers in App Store Connect match.

## The app may promise data stays on the device when it doesn't

Often a rejection.

**What Apple wants:** People must be told accurately where their data goes (Guideline 5.1.2(i)). 'Nothing leaves your device' next to an iCloud sync or uploads to your own server misleads them, and reviewers compare such lines with the App Privacy answers.

**How to fix it:** Reword the promise to say what stays on the device and what goes to iCloud or your server.

Steps:

1. List what the app stores in iCloud and sends to your server or analytics.
2. Rewrite lines like 'nothing leaves your device' so they hold, for example naming the data that does stay on the device.
3. Make the App Privacy answers in App Store Connect match.

## The tracking prompt may be pushed with rewards or pressure

Usually a rejection.

**What Apple wants:** Apps can't reward people for allowing tracking, hold features back until they do, or steer them toward Allow (Guideline 5.1.2(i)). Reviewers reject pre-prompts that do any of these.

**How to fix it:** Show the tracking prompt plainly, with no reward, no locked features and no steering.

Steps:

1. Remove rewards or locked features tied to allowing tracking.
2. If you keep a pre-prompt, explain tracking honestly, label its button 'Continue', and don't imitate or point at the system alert.

## The tracking prompt may not appear when the reviewer opens the app

Usually a rejection.

**What Apple wants:** When your App Privacy answers say the app tracks, reviewers look for the tracking prompt and reject the app if they never see it (Guideline 5.1.2(i)). iOS silently skips the prompt when it's requested before the app is active or alongside another alert.

**How to fix it:** Request tracking permission once the app is active, separately from other prompts.

Steps:

1. Request tracking after the app becomes active, for example once the first screen has appeared.
2. Don't request it at the same moment as notifications or other permissions.
3. Make sure every new user reaches it on the first launch.

## Tracking may start before people answer the tracking prompt

Often a rejection.

**What Apple wants:** Apps need permission through App Tracking Transparency before they track anyone (Guideline 5.1.2(i)). SDKs that start tracking at launch or ignore a 'no' break that rule even when the prompt exists.

**How to fix it:** Start tracking only after the prompt is answered, and switch it off when declined.

Steps:

1. Delay tracking SDKs, or their tracking features, until the tracking prompt has been answered.
2. When people decline, turn off advertising-ID collection and cross-app tracking in each SDK.

## The app may track people without the tracking prompt

Usually a rejection.

**What Apple wants:** Tracking people across apps and websites needs their permission through App Tracking Transparency first (Guideline 5.1.2(i)). Reviewers reject apps whose ad or attribution code tracks without the prompt.

**How to fix it:** Ask with App Tracking Transparency before tracking, or set the SDKs not to track.

Steps:

1. Add NSUserTrackingUsageDescription and request tracking permission once the app is active.
2. Start ad and attribution SDKs in their limited, non-tracking mode until people allow tracking.

## Users' emails or phone numbers may be sent to ad networks

Often a rejection.

**What Apple wants:** Giving ad or attribution networks people's emails or phone numbers, even hashed, lets them match people across apps. That's tracking, which needs App Tracking Transparency permission first (Guideline 5.1.2(i)), and apps may not help others identify people (Guideline 5.1.2(iii)).

**How to fix it:** Send personal details to ad and attribution SDKs only after people allow tracking.

Steps:

1. Wrap identify and user-data calls in a check that tracking is authorized.
2. When tracking is denied, send nothing personal to these SDKs.

## The app may require or reward turning on notifications or location

Usually a rejection.

**What Apple wants:** Apps can't make people switch on notifications, location services or tracking to use the app or its content, or pay them in any form for switching these on (Guideline 5.1.2(i)).

**How to fix it:** Let people continue without enabling them, and remove rewards for turning them on.

Steps:

1. Let onboarding and features continue when notifications or location are declined.
2. Remove any reward tied to enabling them.

## The app may sell or share personal data with other companies

Usually a rejection.

**What Apple wants:** Apps may pass personal data to other companies only to make the app better or to show ads, and only with permission (Guideline 5.1.2(i)). Apps that sell data or hand it to partners get removed.

**How to fix it:** Stop selling or handing personal data to other companies.

Steps:

1. Remove data-sale SDKs and partner data feeds.
2. Limit third-party sharing to services that run the app or show ads, disclosed and with consent.

---

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/5-1-2-i
