# Check this app against App Store Review Guideline 4.2.7: Remote Desktop Clients

Clients that mirror specific software must connect only to the person's own computer or console on a local network, use only what streaming needs, keep accounts and purchases on the host, and can't be cloud thin clients.

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.

## The remote client may break Apple's rules for streaming software

Often a rejection.

**What Apple wants:** Clients that mirror specific software may only connect to the person's own computer or console on their local network, and apps that are just a window onto cloud-hosted software aren't allowed (Guideline 4.2.7).

**How to fix it:** Connect only to the person's own device on their local network, or mirror the whole screen.

Steps:

1. Limit connections to hosts the person owns, found on the same local network.
2. Remove cloud-hosted sessions, and keep the software running on the host.

## The remote client may handle accounts or sell software itself

Often a rejection.

**What Apple wants:** For clients that mirror specific software, accounts must be set up and managed on the host, and the client can't look like iOS or the App Store, or sell software people don't own (Guideline 4.2.7).

**How to fix it:** Move sign-up, account management and software purchases to the host device.

Steps:

1. Remove account creation and management from the client, and point people to the host.
2. Remove store-like browsing or buying of software people don't own.
3. Give the client its own look rather than one copying the iOS home screen or the App Store.

## The remote client may use device features streaming doesn't need

Often a rejection.

**What Apple wants:** Clients that mirror specific software must leave that software running on the host and may use only the APIs and features needed to stream it (Guideline 4.2.7).

**How to fix it:** Remove device features the streaming client doesn't need.

Steps:

1. List the permissions and capabilities the client uses, and drop those streaming doesn't need.
2. Keep features that belong to the mirrored software running on the host.

---

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