Skip to content

Avoid common App Store and Google Play rejections. Open playbook and pre-submission guard with 117 documented rejection patterns and fixes, privacy manifest and Data safety checks, 95 tracked deadlines (EU AI Act, DSA, COPPA, age laws), and a skill for AI coding agents.

feat: competitive gap analysis and by-app-type rejection map from surveying other repos

mjmirza1c5ec02da52c
diff --git a/README.md b/README.md
index 4960a2a..cb69798 100644
--- a/README.md
+++ b/README.md
@@ -121,7 +121,9 @@ bash agent-os/hooks/app-store-compliance-guard.sh /path/to/your/app
| `docs/APPLE.md` | Apple rejection map, sections 1 to 5, every guideline with the trigger and the fix, plus the 2026 age rating and AI disclosure changes |
| `docs/GOOGLE-PLAY.md` | Google Play rejection map across every policy, plus the four level enforcement ladder from rejection to account termination |
| `docs/ADVANCED-2026.md` | The modern upload time layer (privacy manifests, export compliance), payments and DMA depth, the full legal layer (GDPR, EU AI Act, DSA, COPPA), gambling depth, AI content policy, and Android specifics |
-| `docs/OPEN-SOURCE-PATTERNS.md` | What the community already codified. The fastlane precheck metadata rule set, community rejection repositories, and the Google Play pre-launch report, folded in |
+| `docs/BY-APP-TYPE.md` | The rejection map routed by app type. Universal, subscriptions, social, kids, health, games, macOS, AI, crypto and finance, VPN |
+| `docs/COMPETITIVE-GAP-ANALYSIS.md` | A survey of the other open source compliance repositories, what each publishes and why, the gaps they surfaced, and what was folded in here |
+| `docs/OPEN-SOURCE-PATTERNS.md` | What the community already codified. The fastlane precheck metadata rule set, the Android Play Policy Insights and security lints, community rejection repositories, and the Google Play pre-launch report, folded in |
| `docs/OTHER-STORES.md` | Huawei AppGallery, the Chinese stores, Samsung, Amazon, Microsoft, and RuStore, plus the cross store patterns worth adopting |
| `docs/MISTAKE-PATTERNS.md` | The eight root cause patterns, the top mistakes, and the appeal playbook |
| `docs/PRE-SUBMISSION-CHECKLIST.md` | Exhaustive pre submission checklists for both stores, every item a verifiable check |
diff --git a/agent-os/skill/SKILL.md b/agent-os/skill/SKILL.md
index dcf06db..15c6a66 100644
--- a/agent-os/skill/SKILL.md
+++ b/agent-os/skill/SKILL.md
@@ -22,9 +22,13 @@ The compliance reference lives in the `app-store-compliance` repo. The key files
- `data/rejection-patterns.json` the machine readable taxonomy.
- `docs/APPLE.md` and `docs/GOOGLE-PLAY.md` the full rejection maps.
- `docs/PRE-SUBMISSION-CHECKLIST.md` the verifiable checklist.
-- `docs/MISTAKE-PATTERNS.md` root causes and the appeal playbook.
+- `docs/MISTAKE-PATTERNS.md` root causes, the appeal playbook, and real rejection case studies.
+- `docs/BY-APP-TYPE.md` the rejection map routed by app type. Load the section that matches the app.
+- `docs/ADVANCED-2026.md` the modern upload time and legal layer.
- `agent-os/hooks/app-store-compliance-guard.sh` the automated scanner.
+For the strongest audit, also pull the live App Store Connect metadata and inspect the words in the real listing, not only the source. The asc CLI (`brew install asc`, then `asc metadata pull`) or the App Store Connect API gives the live title, subtitle, keywords, description, and review notes. A large share of rejections live in the listing text, so checking the real metadata catches what a source scan cannot.
+
### Step 2. Run the automated scan
Run the guard against the project root.
diff --git a/data/rejection-patterns.json b/data/rejection-patterns.json
index f3eeb71..f3bcfb4 100644
--- a/data/rejection-patterns.json
+++ b/data/rejection-patterns.json
@@ -220,9 +220,9 @@
"guideline": "Target API level",
"title": "App does not target the current required API level",
"severity": "high",
- "detection": "targetSdkVersion in build.gradle is below the current Google Play requirement.",
+ "detection": "targetSdkVersion in build.gradle is below the current Google Play requirement. From 31 August 2026, new apps and updates must target Android 16, API level 36, or higher.",
"signals": ["targetSdkVersion", "targetSdk"],
- "fix": "Build against the current required Android target API level before submission."
+ "fix": "Build against the current required Android target API level. From 31 August 2026 that is API 36 or higher. Submissions below the threshold are rejected automatically."
},
{
"id": "GOOGLE-12-TESTER-RULE",
@@ -439,6 +439,57 @@
"detection": "A support URL, marketing URL, or privacy policy URL in the listing does not load. Mirrors the fastlane precheck unreachable_urls rule.",
"signals": [],
"fix": "Confirm every listing URL is public and loads during the entire review window."
+ },
+ {
+ "id": "APPLE-5.2.5-APPLE-DEVICE-IMAGE",
+ "platform": "apple",
+ "guideline": "5.2.5",
+ "title": "Apple device image or Apple trademark in the icon or screenshots",
+ "severity": "high",
+ "detection": "Manual metadata check. The app icon or screenshots show an Apple device, the Apple logo, or imply Apple endorsement.",
+ "signals": [],
+ "fix": "Remove Apple device images and Apple marks from the icon and screenshots. Source. truongduy2611 apple_trademark rule."
+ },
+ {
+ "id": "APPLE-2.3.4-DEVICE-FRAMES-PREVIEW",
+ "platform": "apple",
+ "guideline": "2.3.4",
+ "title": "Device frames around the app in a preview video",
+ "severity": "medium",
+ "detection": "Manual metadata check. The app preview video wraps the app in a device frame instead of showing the app full screen.",
+ "signals": [],
+ "fix": "Capture the preview video full screen from the device, without a device frame overlay."
+ },
+ {
+ "id": "APPLE-3.1.2-MISLEADING-PRICING",
+ "platform": "apple",
+ "guideline": "3.1.2",
+ "title": "Subscription shows the per month price more prominently than the billed amount",
+ "severity": "high",
+ "detection": "Manual paywall check. An annual subscription shows a small per month figure large and the actual billed total small.",
+ "signals": [],
+ "fix": "Show the actual amount the user will be charged at least as prominently as any per month figure. Source. truongduy2611 misleading_pricing rule."
+ },
+ {
+ "id": "APPLE-1.2-UGC-24H-ACTION",
+ "platform": "apple",
+ "guideline": "1.2",
+ "title": "User generated content without the 24 hour action mechanism",
+ "severity": "critical",
+ "detection": "UGC present without a EULA with zero tolerance for objectionable content, content filtering, a flag mechanism, user blocking, and the ability to act on a report within 24 hours by removing content and ejecting the user.",
+ "signals": ["post", "comment", "upload", "chat", "feed", "community"],
+ "counterSignals": ["report", "block user", "EULA", "moderation"],
+ "fix": "Add a zero tolerance EULA, content filtering, in app reporting, user blocking, and a process to act on reports within 24 hours. Source. real Apple Safety 1.2 rejection email."
+ },
+ {
+ "id": "CHINA-AI-REFERENCES",
+ "platform": "apple",
+ "guideline": "5",
+ "title": "External AI service references in a China storefront",
+ "severity": "high",
+ "detection": "Manual storefront check. References to ChatGPT, Gemini, OpenAI, or similar external AI services in an app distributed on the China storefront can trigger a regional rejection.",
+ "signals": [],
+ "fix": "Remove or localize external AI service references for the China storefront. Source. truongduy2611 china_storefront rule."
}
]
}
diff --git a/docs/BY-APP-TYPE.md b/docs/BY-APP-TYPE.md
new file mode 100644
index 0000000..c6e54e4
--- /dev/null
+++ b/docs/BY-APP-TYPE.md
@@ -0,0 +1,91 @@
+# Rejection Map by App Type
+
+A games app and a finance app fail review for very different reasons. This doc routes each app type to the guidelines that actually hit it, so you check the right things instead of all things. Adopted from the structure of the most popular open source preflight skill. Run the universal set for every app, then the set that matches your app type.
+
+## Universal. Every app
+
+- Stability. No crashes, broken links, or placeholder content. Apple 2.1, Google spam and minimum functionality.
+- Demo account and live backend. A working demo account, no 2FA the reviewer cannot pass, a backend that stays up. Apple 2.1.
+- Review notes. A screen recording or path for every non obvious feature, the app purpose, test credentials, external services, regional notes, and any regulatory document. Apple 2.1.
+- Privacy policy. Published, reachable in the app, accurate. Apple 5.1.1, Google User Data.
+- Permissions. Each sensitive permission traces to a visible core feature with a specific reason string. Apple 5.1.1, Google permissions policy.
+- Privacy manifest. iOS PrivacyInfo.xcprivacy with approved reason codes, and every SDK ships its signed manifest. Apple upload enforcement.
+- Data declaration. Apple privacy labels and Google Data Safety match real runtime behavior including SDKs.
+- Metadata. Accurate name, screenshots of the app in use, no other platform mentions, no Apple device images in the icon, no device frames in the preview video. Apple 2.3, 5.2.5.
+- Account deletion. Genuine in app deletion for any account creating app, not a deactivate or a web form. Apple 5.1.1(v), Google account deletion.
+- Export compliance. ITSAppUsesNonExemptEncryption set so the build does not stall.
+
+## Subscriptions and in app purchase
+
+- All digital goods through Apple in app purchase and Google Play Billing. Apple 3.1.1.
+- Subscriptions show real ongoing value, clear terms, and the actual billed amount at least as prominent as the per month figure. Apple 3.1.2.
+- Terms of Use or EULA and Privacy Policy links present in the app and the metadata. Apple 3.1.2.
+- Restore Purchases control for non consumables. Apple 3.1.1.
+- Loot boxes and random rewards disclose odds before purchase. Apple 3.1.1, Google random items disclosure.
+- Physical goods use external payment, not in app purchase. Apple 3.1.5(a).
+
+## Social and user generated content
+
+- A EULA with zero tolerance for objectionable content, that users must agree to.
+- Content filtering, a report mechanism, and the ability to block abusive users.
+- The developer acts on an objectionable content report within 24 hours by removing the content and ejecting the user. Apple 1.2.
+- Published contact information.
+- For AI generated output, the same moderation applies. The model is a content source. Apple 1.2 and Google AI Generated Content.
+
+## Kids category and families
+
+- COPPA, GDPR, and local child law. Under 13 is the COPPA threshold. Persistent identifiers are personal information for a child.
+- No third party analytics or behavioral ads. Use only a self certified ads SDK in the families program.
+- A valid parental gate for links and purchases, and a neutral age screen for a mixed audience.
+- Verifiable Parental Consent where data is collected, which is more than a parental gate. Apple 5.1.4, Google Families.
+
+## Health, fitness, and medical
+
+- Validated health claims only. No unproven measurement from device sensors. Apple 1.4.1.
+- Health data never used for advertising, marketing, or data mining. Apple 5.1.2(vi), 5.1.3.
+- Informed consent and an ethics review for research apps.
+- Special category data under GDPR Article 9 needs explicit consent.
+- A medical or regulated entity submits, not an individual. Apple 5.1.1(ix).
+
+## Games
+
+- In app purchase for all digital goods and currency. No external funding of real money play. Apple 3.1.
+- Loot boxes and gacha disclose odds before purchase. Google requires a random items disclosure.
+- Real money gaming is licensed, geo restricted, free to download, with official rules. Apple 5.3.
+- Simulated gambling and social casino is a separate category with its own rating.
+- Accurate age rating for the content and any chance mechanics.
+
+## macOS and the Mac App Store
+
+- Proper sandboxing and the macOS file system rules. Apple 2.4.5(i).
+- Packaged with Xcode, self contained, no third party installer. Apple 2.4.5(ii).
+- No auto launch, no Dock icon added without consent, no desktop shortcut left behind. Apple 2.4.5(iii).
+- No downloading standalone apps, kexts, or code that adds features. Apple 2.4.5(iv).
+- No root escalation or setuid. No custom license key or copy protection screen. No non App Store update mechanism. Apple 2.4.5(v) through (vii).
+- Runs on the current shipping OS. Apple 2.4.5(viii).
+
+## AI and generative apps
+
+- AI generated content counts toward the age rating, and a model that can produce sensitive content needs an age restriction. Apple 2026 rules.
+- A consent modal naming the AI provider and the data types before any personal data is sent to a third party AI. Apple 5.1.2, enforced since late 2025.
+- Moderation, reporting, and blocking on AI output, the same as user content. No NSFW, deepfake, face swap, or undress generation.
+- Self harm and crisis safeguards for a companion or character AI.
+- Not a thin wrapper over a third party model with no added value. Apple 4.2 and 4.3.
+- In a China storefront, references to external AI services such as ChatGPT or Gemini can trigger a regional rejection.
+- A reviewer demo account needs a high or unlimited quota so the feature can be exercised.
+
+## Crypto, finance, and trading
+
+- A finance app is submitted by the company legal entity, not an individual account. Apple 5.1.1(ix) and PLA 1.2.
+- Licensing where required, and geo restriction to licensed regions.
+- No personal loans over 36 percent APR or under 60 day terms. Apple 3.2.2(ix).
+- No binary options, and CFD or FOREX needs proper licensing. Apple 3.2.2(viii).
+- NFT purchases through in app purchase, no external buttons or links to buy NFTs.
+- Crypto exchange apps come from a licensed exchange in the regions offered.
+
+## VPN and networking
+
+- The NEVPNManager API, and the developer enrolled as an organization. Apple 5.4.
+- Declared data use, and no selling or sharing of any data.
+- License information in the review notes where a territory requires it.
+- Android, no misuse of the VPN service for tracking or ad injection.
diff --git a/docs/COMPETITIVE-GAP-ANALYSIS.md b/docs/COMPETITIVE-GAP-ANALYSIS.md
new file mode 100644
index 0000000..705d0a2
--- /dev/null
+++ b/docs/COMPETITIVE-GAP-ANALYSIS.md
@@ -0,0 +1,74 @@
+# Competitive Gap Analysis. What Other Repositories Publish and What We Adopted
+
+This document is the result of surveying the open source repositories that already publish App Store and Google Play compliance knowledge, studying why each one exists and what it captures, finding the gaps against this playbook, and folding the missing patterns back in. It is maintained so this playbook stays the most complete open reference, not a snapshot.
+
+Method. Each repository was read in full through the GitHub API, its structure and unique content extracted, then compared field by field against this playbook. The gaps it surfaced are listed, and the ones we adopted are marked.
+
+## The repositories surveyed
+
+| Repository | Stars | What it publishes | Why it exists |
+|---|---|---|---|
+| truongduy2611/app-store-preflight-skills | about 1,224 | An AI agent skill that scans an iOS or macOS project, pulls App Store Connect metadata through the asc CLI, and checks it against a full index of 100 plus guidelines organized into 10 app type checklists | The most popular comparable. Built so an agent catches rejections before submission, the same goal as this playbook |
+| lukylab/appstore-submission-checklist | about 17 | Two practical checklists, one for new app submissions and one for app updates, from an indie developer with 10 plus live apps | New apps and updates fail review for different reasons, so it splits the two |
+| andrewmcwattersandco/app-store-rejections | about 14 | A community collection of real, named App Store rejection stories with links | To warn developers of marketplace risk and encourage self publishing |
+| jaywcjlove/app-rejection-fixes | small | Rejection reasons paired with the fix that cleared each | A working developer logging the rejections they hit and resolved |
+| hnxyzhw/AppStoreReviewsAndRejected | small | The actual Apple rejection email texts, by guideline, with the Chinese translation and the fix | Captures the exact reviewer wording, which is the most concrete signal of what triggers a rejection |
+| aashishtamsya/Appstore-Review-Guidelines | about 90 | An older curated guideline list by category | An early community attempt at a pre submission reference |
+
+## Gaps these repositories surfaced, and what we adopted
+
+### 1. App type specific checklists. ADOPTED
+
+The most popular repository organizes its checks into ten app types, because a games app and a finance app fail for very different reasons. Our playbook was flat. We adopted this as a new doc, `BY-APP-TYPE.md`, mapping each app type to the critical guidelines that hit it. This is the single biggest structural improvement from the survey.
+
+### 2. macOS as a first class target. ADOPTED
+
+The leader covers macOS and the Mac App Store as a distinct checklist. Our playbook covered iOS and Android. macOS has its own rules, sandboxing, notarization, no non App Store update mechanism, and the 2.4.5 Mac specific set. We added a macOS section to the by app type doc.
+
+### 3. Pulling real App Store Connect metadata. ADOPTED as guidance
+
+The leader integrates the asc CLI to pull the live listing metadata and inspect it, rather than only scanning source. Our guard scans source. We added guidance to the skill that the strongest audit pulls the real App Store Connect metadata, with the asc CLI or the App Store Connect API, and checks the words in the live listing, because a large share of rejections are metadata, not code.
+
+### 4. Specific metadata rejection rules. ADOPTED into the taxonomy
+
+The leader and the Chinese rejection email collection name precise triggers we did not have as patterns.
+
+- Apple device images or the Apple trademark in the app icon or screenshots, guideline 5.2.5.
+- Device frames around the app in preview videos, guideline 2.3.4.
+- Subscription pricing that shows the monthly price more prominently than the actual billed amount, guideline 3.1.2.
+- Missing Terms of Use or EULA and Privacy Policy links for a subscription, guideline 3.1.2.
+- In a China storefront, references to external AI services such as ChatGPT or Gemini can trigger a regional rejection.
+- Review notes for a new submission that omit a screen recording, the app purpose, test credentials, external service details, regional information, or regulatory documents, guideline 2.1.
+
+### 5. The user generated content 24 hour rule. ADOPTED
+
+The real Safety 1.2 rejection email in the Chinese collection states the exact requirement. The developer must act on an objectionable content report within 24 hours by removing the content and ejecting the user. Our 1.2 coverage named filtering, reporting, and blocking, but not the 24 hour action window and the EULA with zero tolerance. Both are now captured.
+
+### 6. Financial apps require a company developer account. ADOPTED
+
+The PLA 1.2 rejection email shows that a financial app submitted under an individual account is rejected. This reinforces our 5.1.1(ix) regulated fields rule, now stated plainly for finance.
+
+### 7. New app versus update split. ADOPTED into the checklist
+
+An update fails for different reasons than a first submission. Our checklist is now framed so the first submission items, demo account, review notes, and metadata, are clearly the heavy ones, and the update items focus on what changed.
+
+### 8. Real rejection case studies. ADOPTED into the mistake patterns
+
+The community collections hold named, real rejections that teach more than an abstract rule. The Halide camera app rejected for not explaining why it uses the camera, the iDOS emulator takedown, and the pattern of a long lived app pulled for not being updated. These are now examples in the mistake patterns doc.
+
+### 9. A guideline history reference. ADOPTED as a reference
+
+The checklist repository points at the App Store Review Guidelines History site, which tracks how the guidelines changed over time. Useful when a rejection cites a rule that was recently reworded.
+
+## What we already had that they did not
+
+This survey also confirmed where this playbook is ahead.
+
+- Google Play depth. Most comparable repositories are iOS only. This playbook carries the full Google Play policy map, the four level enforcement ladder, the 12 tester rule, and Data Safety.
+- The legal layer. None of the surveyed repositories cover GDPR lawful basis, the EU AI Act, the DSA, or COPPA depth. This playbook does, with the explicit framing that store compliance is not legal compliance.
+- Cross store coverage. Huawei, the Chinese stores, Samsung, Amazon, Microsoft, and RuStore, in `OTHER-STORES.md`.
+- A working automated guard with a test suite, not only a written checklist.
+
+## The standing process
+
+This analysis is repeatable. When a new comparable repository appears, read it through the API, extract its structure and unique rules, diff against this playbook, and fold in the net new patterns. Contributions that bring a pattern from another open source list are welcome, with a link to the source.
diff --git a/docs/MISTAKE-PATTERNS.md b/docs/MISTAKE-PATTERNS.md
index 32e8fd6..11e4003 100644
--- a/docs/MISTAKE-PATTERNS.md
+++ b/docs/MISTAKE-PATTERNS.md
@@ -95,6 +95,17 @@ A rejection is recoverable. A bad appeal turns one rejection into a strike.
Address the cited rule, show evidence, change the build if needed, and reply once with everything. Speed comes from precision, not from volume.
+## Real rejection case studies
+
+Named, real rejections teach more than an abstract rule. These come from open source community collections.
+
+- Halide, an Apple Design Award winning camera app, was rejected because it did not explain why the app uses the camera. Even a polished, award winning app fails the permission purpose check. This is the missing exit and the vague purpose string patterns in real life.
+- iDOS, a DOS emulator, received an App Store takedown. Emulators sit in a contested category and have been pulled even after a period of availability. Category risk is real, and it can arrive after approval.
+- A game that had not been updated in seven years was removed for being out of date. Approval is not permanent. An app that goes stale against current requirements can be pulled.
+- A developer submitted a macOS build under an iOS app and was rejected. Platform and target rules are strict. A Mac build is a separate target with its own rules.
+
+The lesson across all four. Approval is a moment, not a state. The rules apply at submission and keep applying after, so the privacy strings, the category fit, and the current SDK all have to stay correct over the life of the app.
+
## How to operationalize this
Put the pre submission checklist into the definition of done for every release. Run the automated guard before every upload. Keep this taxonomy in code review so a reviewer can name the pattern a change risks. The goal is that no rejection reason in this document can reach submission without a human or a hook catching it first.
diff --git a/docs/OPEN-SOURCE-PATTERNS.md b/docs/OPEN-SOURCE-PATTERNS.md
index 4863be8..9d8645d 100644
--- a/docs/OPEN-SOURCE-PATTERNS.md
+++ b/docs/OPEN-SOURCE-PATTERNS.md
@@ -66,6 +66,22 @@ From these open source patterns, the guard and the taxonomy gained metadata leve
The rest of the precheck rules, such as curse words and copyright date, are documented here as a manual metadata pass, because a safe automated word list belongs in each team's own configuration rather than hard coded in a shared guard.
+## The Android side. Google's own and open source tooling
+
+The Apple side has fastlane precheck. The Android side has its own equivalents, some from Google itself.
+
+| Tool | What it does |
+|---|---|
+| Play Policy Insights in Android Studio | Google's own policy lint, surfaced as lint checks in recent Android Studio releases. It flags likely policy issues before you submit, the closest Android equivalent of a pre review check. Source. [Play Policy Insights](https://developer.android.com/studio/publish/insights) |
+| [google/android-security-lints](https://github.com/google/android-security-lints) | Google's open source security focused custom lint checks, more security oriented and experimental than the built in lint |
+| Google Play pre-launch report | The test lab crawl on real devices, covered in the section above |
+
+Three Android facts worth pinning, gathered from the community checklists.
+
+- Target API level. From 31 August 2026, new apps and updates must target Android 16, API level 36, or higher. Below the threshold is an automatic rejection.
+- The package name, the applicationId, is permanent once published. Choose it carefully.
+- Enable R8 or ProGuard. It shrinks the app and makes it harder to reverse engineer, which also helps the security review.
+
## How to use this with fastlane
If a team already uses fastlane, wire precheck into the lane before deliver, and keep this playbook for the code level, privacy, and policy checks that precheck does not cover. The two are complementary. precheck guards the words in the listing, this playbook guards the app, the privacy posture, and the submission settings.