# Check this app against App Store Review Guideline 5.1.2(v): Contacting People

Messages to contacts go only to people the user picks one by one, with a preview of what is sent and from whom.

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.

## Contacts may be invited in bulk or pre-selected

Usually a rejection.

**What Apple wants:** Apps may contact people from someone's address book only when that person picks each recipient; 'Select all' and pre-selected contacts aren't allowed (Guideline 5.1.2(v)).

**How to fix it:** Remove 'Select all', start with nothing selected, and send only to people the user picks.

Steps:

1. Remove 'Select all' and 'Invite all' options.
2. Start with no contacts selected.
3. Send each invite only when the person chooses that contact.

## Invites may be sent without showing the message first

Often a rejection.

**What Apple wants:** Before the app messages someone from Contacts, the user must see what the message says and who it will appear to come from (Guideline 5.1.2(v)).

**How to fix it:** Show the message text and sender before sending, or use the system composer.

Steps:

1. Show a preview of the invite text and sender name before sending.
2. Or hand the invite to the system Messages or Mail composer.

---

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-v
