2.8 KiB
2.8 KiB
Pitfalls: lessons from real use
A changelog of mistakes found while shipping real apps and games with storebound, newest first. Each entry says what
went wrong, why, and what now guards it. The agent-facing short version is skills/store-pitfalls/SKILL.md; keep the
two in step.
Rule (CONTRIBUTING.md): every bug found in real use adds an entry here and, where possible, a check or a test that fails without the fix.
| # | date | lesson | guard |
|---|---|---|---|
| 8 | 2026-10 | Capacitor plugins in a monorepo live in apps/native/node_modules, so scan missed them. |
scan / privacy-manifest resolve workspace packages (cli/lib/scan/project.ts, cli/lib/node-packages.ts). |
| 7 | 2026-10 | Console UIs: the App Store Connect sign-in runs in an idmsa.apple.com iframe; "User Access" is a plain heading, not a labeled group; Chrome drops session cookies without --restore-last-session. |
console session and fill (cli/console/), tests/console-*.test.ts. |
| 6 | 2026-10 | Screenshot fonts: only part of the glyphs a language needs were available, so Turkish / Polish / Vietnamese characters fell back to another font silently. | shots fonts / shots check check every language's characters against the fonts (tests/glyphs.test.ts). |
| 5 | 2026-10 | Account features do not imply email collection; Data safety said "email collected" without evidence. | scan marks email only with code evidence, else "ask owner" (cli/lib/scan/declare.ts). |
| 4 | 2026-10 | The App Store keyword limit (100) counts UTF-8 bytes, not characters. | check counts bytes (cli/lib/copy.ts). |
| 3 | 2026-10 | App Store app names are unique per storefront: "already being used" although the developer owns no such app. | apple.name (App Store name with a suffix the owner picks); app.name stays the brand. |
| 2 | 2026-10 | Dry runs that print no plan ("listing: 20 locales") break "show the dry run to the owner". | cli/lib/dry.ts dryPlan(title, rows); tests/pitfalls.test.ts scans cli/** for --dry branches that print only a count (allowlist with TODOs for commands being fixed). |
| 1 | 2026-10 | App Store Connect's /inAppPurchasesV2 list lags right after apple iap creates a product; apple iap-review then skipped it silently. |
apple iap-review names config products missing from the store's list and exits 1; apple iap and play products re-read the list after creating and warn (cli/lib/store-lag.ts, tests/pitfalls.test.ts). |
Adding an entry
- A row above (next number, month, one-sentence lesson, the guard with file or test names).
- A section in
skills/store-pitfalls/SKILL.md: symptom → cause → what to do → which command guards it. Thenbun tools/gen-adapters.ts. - Where the code can know it: a check (
check,validate,scan, a warning in the command) and a test with recorded store answers that fails without the fix.