# Check this app against App Store Review Guideline 5.1.1(vii): SafariViewController

In-app Safari views are shown openly and never used to track people without their knowledge.

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.

## An in-app Safari view may be hidden or used to track

Usually a rejection.

**What Apple wants:** Safari views have to be shown openly, never hidden or covered, and can't be used to track people behind their backs (Guideline 5.1.1(vii)).

**How to fix it:** Open Safari views only visibly, for pages the person chose to see.

Steps:

1. Remove any hidden or background Safari view.
2. Handle attribution through a disclosed SDK, with the tracking prompt where needed.

---

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-1-vii
