# Check this app against App Store Review Guideline 5.1.2(vi): Sensitive Framework Data

Data from HomeKit, HealthKit, ClassKit and face or depth mapping is never used for ads, marketing or data mining.

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.

## Face, depth or home data may be used for analytics or ads

Usually a rejection.

**What Apple wants:** Data from HomeKit, ClassKit, and face or depth mapping is off-limits for ads, marketing and data mining, by you or by third parties (Guideline 5.1.2(vi)).

**How to fix it:** Keep that data out of analytics, ad and marketing tools.

Steps:

1. Remove face, depth and home data from analytics events and ad SDK calls.
2. Use it only on the device, for the feature itself.

---

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