# Check this app against Export Compliance

Every build declares whether it uses encryption beyond Apple's own; set it once in Info.plist.

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.

## Export compliance isn't declared in the app

Delays review.

**What Apple wants:** Without ITSAppUsesNonExemptEncryption in Info.plist, App Store Connect asks the export compliance question for every build, and the build can't be submitted until someone answers.

**How to fix it:** Declare it once. If the app only uses HTTPS and Apple's own encryption, set it to NO.

Steps for React Native and Expo:

1. In app.json, set expo.ios.config.usesNonExemptEncryption to false.
2. If the app uses its own encryption, answer Apple's questionnaire instead.

Steps for Swift:

1. Add ITSAppUsesNonExemptEncryption = NO to Info.plist.
2. If the app uses its own encryption, answer Apple's questionnaire instead.

Steps for Flutter:

1. Add ITSAppUsesNonExemptEncryption = NO to ios/Runner/Info.plist.
2. If the app uses its own encryption, answer Apple's questionnaire instead.

## Export compliance isn't answered for build 

Usually a rejection.

**What Apple wants:** Every build needs the encryption question answered ("Missing Compliance" in TestFlight), or it can't be submitted or tested. Answer it once in Info.plist and every future build has it.

**How to fix it:** Set ITSAppUsesNonExemptEncryption in Info.plist (usually NO), or answer the question for this build in App Store Connect.

Steps for React Native and Expo:

1. In app.json: expo.ios.config.usesNonExemptEncryption = false (if the app only uses HTTPS and Apple's own encryption).
2. For the build already uploaded: App Store Connect → TestFlight → the build → Manage → answer the question.

Steps for Swift and Flutter:

1. In the target's Info.plist: ITSAppUsesNonExemptEncryption = NO (if the app only uses HTTPS and Apple's own encryption).
2. For the build already uploaded: App Store Connect → TestFlight → the build → Manage → answer the question.

---

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/export-compliance
