storebound scan: offline rejection-risk scan of the project itself
Detects the stack (native iOS / Android, React Native, Expo, Capacitor, Cordova, Flutter, Unity, Godot) and the SDKs from a maintained table with versions, file:line and each vendor's disclosure page, then reports App Store and Google Play rejection risks with guideline, evidence, fix, severity and skill: 2.1(a) demo account and placeholder text, 5.1.1(v) account deletion, 4.8 login services, 3.1.1 restore and outside payments, 3.1.2 subscription info, 5.1.2(i) ATT, purpose strings, privacy link, privacy manifest, 2.3.10, 2.3.7, 2.3.8, 4.2 web wrappers, 2.5.1, 2.5.5, ATS, export compliance, 1.3 kids ads, review prompts, privacy labels vs SDKs; Play target SDK 36, delete-account URL, App access, foreground services, exact alarms, QUERY_ALL_PACKAGES, SMS / call log, com.example package name. Proposes Data safety / App Privacy / ATT / privacy manifest answers (detected file:line or ask owner) as a diff against the config; --write adds only the detected ones. scan.ignore records owner-accepted findings. MCP tool scan (read-only), validate includes open findings, desktop Checks tab shows them. Fixtures for iOS, Android, Capacitor, Unity, Flutter, clean and teaser.
This commit is contained in:
parent
02d90de77a
commit
00a38cd305
109 changed files with 3103 additions and 31 deletions
80
README.md
80
README.md
|
|
@ -62,7 +62,7 @@ your own click.
|
|||
| 8 | **Privacy and accounts** | privacy policy page template (`init`), `privacy-manifest --ios <path>` (PrivacyInfo.xcprivacy, required-reason APIs, SDK manifests), `validate` checks the policy, delete-account and terms URLs answer | host the pages, link them in both consoles and inside the app; in-app account deletion (`privacy-policy`, `privacy-manifest`, `account-deletion`) | |
|
||||
| 9 | **Icons** | `icons`: App Store 1024 without alpha, Play 512, adaptive + legacy Android launcher icons, web icons, Capacitor sources | | |
|
||||
| 10 | **Screenshots and previews** | `shots capture / render / check / gallery`, `play images`, `apple screenshots`, `shots record / video`, `apple previews`, `apple ppo create / upload` (App Store product page tests from `shots` variants; see [Store art](#store-art)) | Play store listing experiments (optional, `store-screenshots`) | uploading the promo video to YouTube; `apple ppo start / stop` |
|
||||
| 11 | **Validate** | `check` (offline) and `validate` (read-only on both stores: every blocker in fix order, plus the local renders) | the UI-only items `validate` cannot see (`store-preflight` lists them) | |
|
||||
| 11 | **Validate** | `scan` (offline: rejection risks in the project files, see [Catch rejections before you submit](#catch-rejections-before-you-submit)), `check` (offline) and `validate` (read-only on both stores: every blocker in fix order, plus the local renders) | the UI-only items `validate` cannot see (`store-preflight` lists them) | |
|
||||
| 12 | **Submit** | `play release --version-code N --production draft`, `apple status` | Play: countries / regions, open the production draft and save it (`play-first-release`) | **Play: Send changes for review. App Store: Submit for Review.** |
|
||||
| 13 | **After review** | `apple status --wait-review`, `apple release --phased on / pause`, `play rollout --halt`, reply drafts (`review-rejections`) | | releasing the approved version, resuming or completing a phased release or rollout (terminal commands that ask first, `release-management`) |
|
||||
| 14 | **Live app** | `health [--weekly]` (crash / ANR vitals vs Play's thresholds, App Store diagnostics; also in `validate`), `reviews list / draft`, `analytics snapshot / compare`, `prices export`, `prices import --dry`, `apple ppo status` | `store-health`, `review-replies`, `store-analytics`; Play statistics come from the reports bucket (no API) | `reviews send` (approved drafts only), `prices import` (asks first) |
|
||||
|
|
@ -88,6 +88,81 @@ New personal Play developer accounts also need a closed test with 12+ testers fo
|
|||
rollouts after approval, Beta App Review, tester invitations, sending review replies, applying price changes and
|
||||
starting / stopping a product page test too. None of these is an MCP tool; the terminal commands ask first.
|
||||
|
||||
## Catch rejections before you submit
|
||||
|
||||
App Store rejections cost days: you wait for review, read one sentence in the Resolution Center, fix it, and wait
|
||||
again. Most of the usual ones are visible in the project long before that. `storebound scan` reads the project itself,
|
||||
offline and read-only (Xcode project, Info.plist and build settings, entitlements, PrivacyInfo.xcprivacy,
|
||||
Podfile.lock, Package.resolved, Cartfile, Gradle files and version catalogs, AndroidManifest.xml, package.json,
|
||||
Expo app.json, capacitor.config, Cordova config.xml, pubspec, Unity Packages/manifest.json, ProjectSettings and
|
||||
External Dependency Manager files, Godot export presets), plus your config and listing files. It works out the stack
|
||||
and the SDKs (ads, analytics, attribution, crash, sign-in, payments, push, with versions and the file:line they come
|
||||
from) and reports every rejection risk it can prove, each with the guideline, the evidence, the fix, a severity and the
|
||||
skill to open. On the teaser fixture (`tests/fixtures/scan/teaser`):
|
||||
|
||||
```text
|
||||
$ storebound scan
|
||||
Rejection risks: 2 blocker, 3 high, 0 medium, 0 low
|
||||
1. BLOCKER 2.1(a) · App Store · Sign-in is required but there is no demo account for App Review
|
||||
at storebound.config.ts:12 reviewAccess: { signInRequired: true, instructions: 'Sign in with the demo account.' },
|
||||
at storebound.config.ts:11 accounts: { enabled: true },
|
||||
at Podfile.lock:3 Google Sign-In: GoogleSignIn 7.1.0
|
||||
2. BLOCKER 5.1.1(v) · App Store · Accounts can be created but no in-app account deletion was found
|
||||
at storebound.config.ts:11 accounts: { enabled: true },
|
||||
at Planner/LoginView.swift:11 Button("Create account") { Task { try await AccountApi.signUp() } }
|
||||
at Planner/LoginView.swift:17 static func signUp() async throws {
|
||||
3. HIGH 4.8 · App Store · Third-party login (Google / Facebook / ...) without Sign in with Apple or another equivalent login option
|
||||
at Podfile.lock:3 Google Sign-In: GoogleSignIn 7.1.0
|
||||
at Planner/LoginView.swift:9 GIDSignIn.sharedInstance.signIn(withPresenting: rootViewController()) { _, _ in }
|
||||
4. HIGH 3.1.1 · App Store · Restorable purchases (non-consumables or subscriptions) but no Restore Purchases path was found
|
||||
at storebound.config.ts:16 com.example.planner.pro (non_consumable)
|
||||
5. HIGH 5.1.2(i) · App Store · Tracking-capable code without App Tracking Transparency (Google AdMob, IDFA)
|
||||
at Podfile.lock:2 Google AdMob: Google-Mobile-Ads-SDK 11.10.0
|
||||
at Planner/Ads.swift:7 print(ASIdentifierManager.shared().advertisingIdentifier)
|
||||
```
|
||||
|
||||
Every finding also has a `fix:` line and the skill. Below the risks comes the declarations proposal: the Play Data
|
||||
safety and App Store App Privacy answers, App Tracking Transparency and privacy manifest entries the detected SDKs and
|
||||
code imply, each marked **detected (file:line)** or **ask owner**, as a diff against `dataSafety` / `appPrivacy` in
|
||||
the config. Nothing is written unless you run `storebound scan --write` (only detected answers; questions stay
|
||||
questions). The MCP tool `scan` is read-only and cannot write; `validate` includes the open scan findings; the desktop
|
||||
app shows them on the Checks tab. A finding you decided is fine goes into the config with its reason:
|
||||
`scan: { ignore: [{ rule: 'demo-account', reason: '...' }] }`.
|
||||
|
||||
| rule | App Store guideline / Play policy | what scan proves |
|
||||
|---|---|---|
|
||||
| `demo-account`, `play-app-access` | 2.1(a), Play App access | a sign-in (config, auth SDKs, sign-in code) without `reviewAccess` or without the demo account in `.storebound/` |
|
||||
| `account-deletion`, `play-deletion-url` | 5.1.1(v), Play account deletion | sign-up or social login without a deletion path in code or `accounts.inApp`; no `accounts.deletionUrl` |
|
||||
| `login-services` | 4.8 | Google / Facebook / other third-party login without Sign in with Apple or another equivalent option |
|
||||
| `restore-purchases`, `external-purchase` | 3.1.1 | non-consumables or subscriptions without a restore path; card / PayPal SDKs next to IAP; "buy on our website" |
|
||||
| `subscription-info` | 3.1.2(c), 3.1.2 | no Terms of Use URL, no Terms link or renewal wording in the description, no legal links or "Manage subscription" in the app |
|
||||
| `att` | 5.1.2(i) | tracking-capable SDKs or IDFA without ATT; the prompt without its purpose string; the string without a prompt |
|
||||
| `purpose-strings`, `unused-permission` | 5.1.1(ii), 5.1.1(iv), ITMS-90683 | a used permission without its NS*UsageDescription; empty or vague strings; declared but unused |
|
||||
| `privacy-manifest` | ITMS-91053 / 91061 | no PrivacyInfo.xcprivacy, required-reason APIs not declared, SDKs older than their first manifest version |
|
||||
| `privacy-policy-link`, `privacy-labels` | 5.1.1(i), 5.1.2, Play Data safety | data collection without a privacy link in the app; SDK data types missing from `dataSafety` |
|
||||
| `other-platforms` | 2.3.10 | "Android", "Google Play" and other stores in the App Store text or screenshot captions |
|
||||
| `metadata-keywords`, `kids-terms` | 2.3.7, 2.3.8 | other apps' names, prices and "best / #1" in name, subtitle or keywords; keyword lists; "For Kids" outside the Kids Category |
|
||||
| `placeholder-text` | 2.1(a), Play Metadata | lorem ipsum, TODO, template lines in the listings |
|
||||
| `min-functionality` | 4.2 | Capacitor `server.url` / Cordova `<content src>` on a remote site; a few native files around a remote WKWebView |
|
||||
| `deprecated-api`, `private-api` | 2.5.1 (ITMS-90809) | UIWebView; `App-Prefs:` / `prefs:root` URL schemes |
|
||||
| `ipv6`, `ats` | 2.5.5, App Transport Security | IPv4 literals in server URLs; NSAllowsArbitraryLoads |
|
||||
| `export-compliance` | export compliance | no ITSAppUsesNonExemptEncryption and no `apple.usesNonExemptEncryption`, or the two disagree (never guessed) |
|
||||
| `kids-ads` | 1.3, Play Families | a Kids Category age band with third-party ads or analytics SDKs |
|
||||
| `review-prompt` | 5.6.1, 3.2.2(x) / 5.6.3 | a custom "rate us" prompt without the system API; rewards for ratings |
|
||||
| `play-target-sdk` | Play target API level | below API 36 (Wear OS / Automotive 35, TV / XR 34) for new apps and updates since 2026-08-31 |
|
||||
| `play-fgs`, `play-exact-alarm`, `play-query-all-packages`, `play-sms-call-log` | Play permissions policies | foreground services without a type or its permission (and the Console declaration); USE_EXACT_ALARM; QUERY_ALL_PACKAGES; SMS and call log permissions |
|
||||
| `play-package-name` | Play Console upload | the reserved `com.example` prefix |
|
||||
|
||||
Rules cite Apple's App Review Guidelines and the Play policy pages they come from (checked 2026-10-11, in the code
|
||||
comments of `cli/lib/scan/rules.ts`); the SDK table with each vendor's data disclosure page is `cli/lib/scan/sdks.ts`.
|
||||
Merged-manifest permissions that libraries add at build time are outside the scan (it says so).
|
||||
|
||||
**Checked at review, not by scan** (no file shows them): crashes and hangs on the reviewer's device (2.1, `store-health`),
|
||||
links that are dead at review time (`validate` checks the configured URLs), screenshots and descriptions that do not
|
||||
match the app (2.3, `store-screenshots`), unfinished UI (4.0), "too simple" and spam / template apps (4.2, 4.3,
|
||||
`portfolio-originality`), IAPs that fail in the sandbox (2.1(b), `store-iap-setup`), the content of the privacy policy
|
||||
(`privacy-policy`), local law (5.2). The `review-rejections` skill covers what to do when one of these comes back.
|
||||
|
||||
## 5-minute quick start
|
||||
|
||||
You need [Bun](https://bun.sh) 1.1+ (and `ffmpeg` for icons, screenshots and video).
|
||||
|
|
@ -209,6 +284,7 @@ run in the background with a log (`storebound shots render > .storebound/render.
|
|||
| `check` | local | config, copy limits, data safety, products, subscriptions, profile (delete-account URL, demo account, terms URL), files; warns on untranslated release notes |
|
||||
| `catalog diff [--store] [--threshold 10]` | API, read-only | one catalog vs both stores: missing / extra / mismatched products and subscriptions, US and override prices, locales, offers, per-region price differences between the stores; exit 1 on mismatches |
|
||||
| `check --aso` | local | keyword audit: App Store keyword field rules, Play stuffing / claims |
|
||||
| `scan [--store apple\|play] [--json] [--write]` | local, read-only | rejection risks in the project itself (stack, SDKs, Info.plist, manifest, listings) with guideline, evidence file:line, fix and skill; Data safety / App Privacy / ATT / privacy manifest proposal as a diff (`--write` adds the detected answers to the config); exit 1 on blockers |
|
||||
| `validate [--apple] [--play]` | API, read-only | readiness report with ordered blockers plus the local renders checks (`--no-local` skips); exit 1 while any blocker is left |
|
||||
| `whats-new [--since <tag>]` | local | draft player-facing release notes from git log into both listing files |
|
||||
| `privacy-manifest --ios <path>` | local | PrivacyInfo.xcprivacy, required-reason APIs, SDKs without manifests |
|
||||
|
|
@ -394,7 +470,7 @@ per-request `_meta`, `resultType`, cacheable `tools/list`) and, on the same proc
|
|||
`initialize` (2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05). It runs each tool as a CLI call in the project directory
|
||||
(the server's working directory, or `STOREBOUND_PROJECT`) and returns the output.
|
||||
|
||||
- One tool per command. Read-only: `check`, `check_aso`, `validate`, `catalog_diff`, `health`, `reviews_list`, `prices_diff`,
|
||||
- One tool per command. Read-only: `scan`, `check`, `check_aso`, `validate`, `catalog_diff`, `health`, `reviews_list`, `prices_diff`,
|
||||
`analytics_compare`, `apple_status`, `apple_next_build`, `apple_testflight_status`, `apple_ppo_status`,
|
||||
`play_status`, `play_next_version_code`, `privacy_manifest`, `shots_check`. Local writes: `import_fastlane`, `whats_new`, `icons`,
|
||||
`health_report`, `reviews_draft`, `prices_export`, `analytics_snapshot`, `shots_capture`, `shots_render`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue