# Check this app against App Store Review Guideline 5.1.1(ix): Highly Regulated Fields

Banking, crypto exchange, healthcare, gambling and similar services come from the company that provides them, and cannabis sales stay within legal regions.

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.

## This regulated service may need to come from a company account

Often a rejection.

**What Apple wants:** Apple expects services like banking, crypto exchanges, telehealth or gambling to come from the company that runs them, not from a personal developer account, and cannabis sales to be limited to places where they're legal (Guideline 5.1.1(ix)).

**How to fix it:** Submit from an organization developer account that belongs to the service's provider.

Steps:

1. Check your Apple Developer account type; individual accounts get rejected for these services.
2. Enroll the provider as an organization and transfer or resubmit the app from that account.
3. For cannabis sales, restrict the app to regions where they are legal.

## Collecting sensitive data may require a company developer account

Often a rejection.

**What Apple wants:** Apps that require sensitive personal information, like ID numbers or medical records, should be submitted by a legal entity rather than an individual developer (Guideline 5.1.1(ix)).

**How to fix it:** Submit the app from an organization developer account, or stop collecting this information.

Steps:

1. Check whether the app really needs this information, and remove what it doesn't.
2. If it does, enroll the company as an organization and submit the app from that account.

## Cannabis sales may not be limited to places where they are legal

Usually a rejection.

**What Apple wants:** Apps that facilitate legal cannabis sales must be geo-restricted to the places where those sales are legal, and must come from the business that provides them (Guideline 5.1.1(ix)).

**How to fix it:** Check the person's location and allow orders only where cannabis sales are legal.

Steps:

1. Check location before showing menus or taking orders, and block it elsewhere.
2. Limit App Store availability to countries where it is legal.
3. Submit from the dispensary or delivery company, enrolled as an organization.

---

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