# Check this app against App Store Review Guideline 4.7.2: Hosted Software: Native APIs

Apps may not open native platform APIs to that software without Apple's permission.

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.

## Mini apps may get access to native iPhone features

Often a rejection.

**What Apple wants:** Apps may not open native platform features to mini apps, games or plug-ins without Apple's permission first (Guideline 4.7.2).

**How to fix it:** Remove native access for third-party content, or get Apple's permission first.

Steps:

1. Limit the web view bridge to your own code, and remove device features from it.
2. If mini apps truly need a native feature, ask Apple before shipping it.

---

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/4-7-2
