# Check this app against App Store Review Guideline 2.5.13: Facial recognition sign-in

Face-based sign-in must use LocalAuthentication where possible and offer another method for users under 13.

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.

## Sign-in may use custom face recognition instead of Face ID

Usually a rejection.

**What Apple wants:** For face-based sign-in, Apple expects Face ID through LocalAuthentication rather than camera or ARKit matching (Guideline 2.5.13).

**How to fix it:** Use Face ID through LocalAuthentication for face sign-in.

Steps:

1. Replace the custom face matching with LocalAuthentication (Face ID).
2. Keep a password or passcode option for people who can't use Face ID.

## Face ID may be the only way into the app

Often a rejection.

**What Apple wants:** Apps that use the face for sign-in need another way in as well, including for children under 13 (Guideline 2.5.13).

**How to fix it:** Offer a passcode or password next to Face ID.

Steps:

1. Allow the device passcode fallback, or add the app's own password or PIN option.

---

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/2-5-13
