0.5.0: mobile apps and games positioning (README, site, og image, skills, CLI, MCP, adapters), MCP tools for subscriptions and catalog diff, tests, changelog
This commit is contained in:
parent
205f65828f
commit
c48eead0e0
51 changed files with 960 additions and 318 deletions
|
|
@ -8,8 +8,8 @@
|
||||||
{
|
{
|
||||||
"name": "storebound",
|
"name": "storebound",
|
||||||
"source": ".",
|
"source": ".",
|
||||||
"description": "Take a mobile game from nothing to Submit for review on both stores: skills for every store step and questionnaire plus the storebound CLI and MCP server.",
|
"description": "Take a mobile app or game from nothing to Submit for review on both stores: skills for every store step and questionnaire plus the storebound CLI and MCP server.",
|
||||||
"version": "0.4.0",
|
"version": "0.5.0",
|
||||||
"category": "development",
|
"category": "development",
|
||||||
"tags": [
|
"tags": [
|
||||||
"mobile",
|
"mobile",
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "storebound",
|
"name": "storebound",
|
||||||
"version": "0.4.0",
|
"version": "0.5.0",
|
||||||
"description": "From nothing to Submit for review on Google Play and the App Store: app records, listings in every language, in-app products with regional prices, every questionnaire (Data safety, IARC, target audience, ads, App Privacy, age rating, export compliance), privacy, icons, screenshots and previews, validate, TestFlight, release management, and after launch: crash vitals, review replies, price sheets, store analytics, Product Page Optimization. Agent Skills plus a Bun CLI and MCP server (storebound); you press Submit. CRTkafa's own toolchain, open-sourced.",
|
"description": "Take a mobile app or game from nothing to Submit for review on Google Play and the App Store: app records, listings in every language, in-app products and subscriptions with regional prices, every questionnaire (Data safety, App access and demo accounts, account deletion, IARC, target audience, ads, App Privacy, age rating, export compliance), privacy, icons, screenshots and previews, validate, TestFlight, release management, and after launch: crash vitals, review replies, price sheets, store analytics, Product Page Optimization. Agent Skills plus a Bun CLI and MCP server (storebound); you press Submit. CRTkafa's own toolchain, open-sourced.",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "CRTkafa"
|
"name": "CRTkafa"
|
||||||
},
|
},
|
||||||
|
|
@ -12,8 +12,10 @@
|
||||||
"google-play",
|
"google-play",
|
||||||
"app-store",
|
"app-store",
|
||||||
"app-store-connect",
|
"app-store-connect",
|
||||||
|
"mobile-apps",
|
||||||
"mobile-games",
|
"mobile-games",
|
||||||
"iap",
|
"iap",
|
||||||
|
"subscriptions",
|
||||||
"screenshots",
|
"screenshots",
|
||||||
"app-icons",
|
"app-icons",
|
||||||
"release",
|
"release",
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "storebound",
|
"name": "storebound",
|
||||||
"version": "0.4.0",
|
"version": "0.5.0",
|
||||||
"description": "From nothing to Submit for review on Google Play and the App Store: app records, listings in every language, in-app products with regional prices, every questionnaire (Data safety, IARC, target audience, ads, App Privacy, age rating, export compliance), privacy, icons, screenshots and previews, validate, TestFlight, release management, and after launch: crash vitals, review replies, price sheets, store analytics, Product Page Optimization. Agent Skills plus a Bun CLI and MCP server (storebound); you press Submit. CRTkafa's own toolchain, open-sourced.",
|
"description": "Take a mobile app or game from nothing to Submit for review on Google Play and the App Store: app records, listings in every language, in-app products and subscriptions with regional prices, every questionnaire (Data safety, App access and demo accounts, account deletion, IARC, target audience, ads, App Privacy, age rating, export compliance), privacy, icons, screenshots and previews, validate, TestFlight, release management, and after launch: crash vitals, review replies, price sheets, store analytics, Product Page Optimization. Agent Skills plus a Bun CLI and MCP server (storebound); you press Submit. CRTkafa's own toolchain, open-sourced.",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "CRTkafa"
|
"name": "CRTkafa"
|
||||||
},
|
},
|
||||||
|
|
@ -12,8 +12,10 @@
|
||||||
"google-play",
|
"google-play",
|
||||||
"app-store",
|
"app-store",
|
||||||
"app-store-connect",
|
"app-store-connect",
|
||||||
|
"mobile-apps",
|
||||||
"mobile-games",
|
"mobile-games",
|
||||||
"iap",
|
"iap",
|
||||||
|
"subscriptions",
|
||||||
"screenshots",
|
"screenshots",
|
||||||
"app-icons",
|
"app-icons",
|
||||||
"release",
|
"release",
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
description: Shipping a mobile game to Google Play or the App Store with storebound (listings, IAPs, screenshots, releases, review, compliance)
|
description: Shipping a mobile app or game to Google Play or the App Store with storebound (listings, IAPs, subscriptions, screenshots, releases, review, compliance)
|
||||||
alwaysApply: false
|
alwaysApply: false
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
@ -17,7 +17,8 @@ These rules apply to every AI tool that uses storebound (skills, MCP server or t
|
||||||
3. **Read before you write.** `storebound check` (offline) and `storebound validate` (read-only, both stores) tell you
|
3. **Read before you write.** `storebound check` (offline) and `storebound validate` (read-only, both stores) tell you
|
||||||
what is missing and in which order to fix it.
|
what is missing and in which order to fix it.
|
||||||
4. **Credentials only from the environment or `.storebound/`** in the project (gitignored). Never ask for keys,
|
4. **Credentials only from the environment or `.storebound/`** in the project (gitignored). Never ask for keys,
|
||||||
passwords or tokens in chat, never print them, never write them into the config, docs or commits.
|
passwords or tokens in chat, never print them, never write them into the config, docs or commits. The same goes
|
||||||
|
for the App Review demo account (`reviewDemoAccount` in `.storebound/credentials.json`): the owner puts it there.
|
||||||
5. **Never answer a compliance question you cannot know.** Export compliance, Data safety, App Privacy, age rating,
|
5. **Never answer a compliance question you cannot know.** Export compliance, Data safety, App Privacy, age rating,
|
||||||
target audience: ask the owner when the code does not prove the answer. A wrong "no" is worse than a slow "ask".
|
target audience: ask the owner when the code does not prove the answer. A wrong "no" is worse than a slow "ask".
|
||||||
6. **Pick builds by explicit number.** Use the build number / versionCode you just uploaded, never "the latest".
|
6. **Pick builds by explicit number.** Use the build number / versionCode you just uploaded, never "the latest".
|
||||||
|
|
@ -37,24 +38,28 @@ These rules apply to every AI tool that uses storebound (skills, MCP server or t
|
||||||
|
|
||||||
## Skills
|
## Skills
|
||||||
|
|
||||||
- `skills/ads-levelplay-checks/SKILL.md`: Diagnose and verify ad mediation (Unity LevelPlay / ironSource and its networks like Unity Ads, InMobi, Liftoff, AdMob) in a mobile game before and after store release
|
- `skills/account-deletion/SKILL.md`: Make account deletion pass App Store and Google Play review for an app with sign-up or sign-in
|
||||||
- `skills/app-icons/SKILL.md`: Generate every app icon a mobile game needs from one artwork
|
- `skills/ads-levelplay-checks/SKILL.md`: Renamed to ads-mediation-checks (AdMob, AppLovin MAX and Unity LevelPlay / ironSource). Kept so existing installs and links keep working. Use ads-mediation-checks for any ad mediation, app-ads.txt, SKAdNetwork or "no fill" question
|
||||||
- `skills/app-previews/SKILL.md`: Make App Store app preview videos and a Google Play promo video for a mobile game from real gameplay
|
- `skills/ads-mediation-checks/SKILL.md`: Diagnose and verify ad mediation in a mobile app or game before and after store release
|
||||||
- `skills/appstore-first-release/SKILL.md`: Step-by-step first (and later) App Store release of a mobile game
|
- `skills/app-icons/SKILL.md`: Generate every icon a mobile app or game needs from one artwork
|
||||||
- `skills/aso-basics/SKILL.md`: App store optimization basics for a mobile game's text
|
- `skills/app-previews/SKILL.md`: Make App Store app preview videos and a Google Play promo video for a mobile app or game from real footage (gameplay or app flows)
|
||||||
- `skills/export-compliance/SKILL.md`: Answer App Store export compliance (encryption) for a mobile game correctly
|
- `skills/appstore-first-release/SKILL.md`: Step-by-step first (and later) App Store release of a mobile app or game
|
||||||
- `skills/play-first-release/SKILL.md`: Step-by-step first (and later) Google Play release of a mobile game
|
- `skills/aso-basics/SKILL.md`: App store optimization basics for a mobile app's or game's text
|
||||||
- `skills/portfolio-originality/SKILL.md`: Originality gate for studios that ship many similar mobile games
|
- `skills/export-compliance/SKILL.md`: Answer App Store export compliance (encryption) for a mobile app or game correctly
|
||||||
- `skills/privacy-manifest/SKILL.md`: Add and check Apple privacy manifests (PrivacyInfo.xcprivacy) for an iOS game
|
- `skills/play-first-release/SKILL.md`: Step-by-step first (and later) Google Play release of a mobile app or game
|
||||||
- `skills/privacy-policy/SKILL.md`: Write and host one studio-wide privacy policy page for all of a developer's mobile games
|
- `skills/portfolio-originality/SKILL.md`: Originality gate for studios and developers that ship many similar mobile apps or games (templates, white-label apps, reskins)
|
||||||
|
- `skills/privacy-manifest/SKILL.md`: Add and check Apple privacy manifests (PrivacyInfo.xcprivacy) for an iOS app or game
|
||||||
|
- `skills/privacy-policy/SKILL.md`: Write and host one studio-wide privacy policy page for all of a developer's mobile apps and games
|
||||||
- `skills/release-management/SKILL.md`: Ship updates safely after the first release
|
- `skills/release-management/SKILL.md`: Ship updates safely after the first release
|
||||||
- `skills/review-rejections/SKILL.md`: Triage and answer an App Store or Google Play rejection, policy warning or strike for a mobile game
|
- `skills/review-access/SKILL.md`: Give App Store and Google Play reviewers working access to an app behind a sign-in
|
||||||
- `skills/review-replies/SKILL.md`: Reply to App Store and Google Play reviews of a mobile game the safe way
|
- `skills/review-rejections/SKILL.md`: Triage and answer an App Store or Google Play rejection, policy warning or strike for a mobile app or game
|
||||||
- `skills/store-analytics/SKILL.md`: Take store analytics snapshots for a mobile game (App Store impressions, product page views, downloads and conversion through the Analytics Reports API; Google Play store listing visitors, acquisitions and installs from the Play reports bucket) and compare them with listing, screenshot and experiment changes from git
|
- `skills/review-replies/SKILL.md`: Reply to App Store and Google Play reviews of a mobile app or game the safe way
|
||||||
- `skills/store-declarations/SKILL.md`: Answer the store compliance forms for a mobile game
|
- `skills/store-analytics/SKILL.md`: Take store analytics snapshots for a mobile app or game (App Store impressions, product page views, downloads and conversion through the Analytics Reports API; Google Play store listing visitors, acquisitions and installs from the Play reports bucket) and compare them with listing, screenshot and experiment changes from git
|
||||||
- `skills/store-health/SKILL.md`: Watch a released mobile game's crash and ANR health on both stores
|
- `skills/store-declarations/SKILL.md`: Answer the store compliance forms for a mobile app or game
|
||||||
- `skills/store-iap-setup/SKILL.md`: Create and price in-app purchases (consumables, non-consumables like "remove ads", coin/gem packs, starter packs) on Google Play and App Store Connect from one product list
|
- `skills/store-health/SKILL.md`: Watch a released mobile app's or game's crash and ANR health on both stores
|
||||||
- `skills/store-preflight/SKILL.md`: Run and read the storebound readiness checks before submitting a mobile game
|
- `skills/store-iap-setup/SKILL.md`: Create and price in-app purchases (consumables, non-consumables like "remove ads" or a Pro unlock, non-renewing passes, coin/gem packs, starter packs) on Google Play and App Store Connect from one product list
|
||||||
- `skills/store-screenshots/SKILL.md`: Produce store screenshots and the Play feature graphic for a mobile game in every required size and many languages
|
- `skills/store-preflight/SKILL.md`: Run and read the storebound readiness checks before submitting a mobile app or game
|
||||||
- `skills/testflight/SKILL.md`: Run TestFlight for a mobile game through the App Store Connect API
|
- `skills/store-screenshots/SKILL.md`: Produce store screenshots and the Play feature graphic for a mobile app or game in every required size and many languages
|
||||||
- `skills/whats-new/SKILL.md`: Write player-facing release notes ("What's new") for a mobile game update from the git log since the last tag
|
- `skills/store-subscriptions/SKILL.md`: Set up auto-renewable subscriptions on the App Store and Google Play from one config
|
||||||
|
- `skills/testflight/SKILL.md`: Run TestFlight for a mobile app or game through the App Store Connect API
|
||||||
|
- `skills/whats-new/SKILL.md`: Write user-facing release notes ("What's new") for a mobile app or game update from the git log since the last tag
|
||||||
|
|
|
||||||
51
.github/copilot-instructions.md
vendored
51
.github/copilot-instructions.md
vendored
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
# storebound for GitHub Copilot
|
# storebound for GitHub Copilot
|
||||||
|
|
||||||
Mobile game store releases (Google Play, App Store). Skills live in `skills/<name>/SKILL.md` (Agent Skills format;
|
Mobile app and game store releases (Google Play, App Store). Skills live in `skills/<name>/SKILL.md` (Agent Skills
|
||||||
`storebound install --agent copilot` copies them to `.github/skills/` of a game project).
|
format; `storebound install --agent copilot` copies them to `.github/skills/` of an app or game project).
|
||||||
|
|
||||||
These rules apply to every AI tool that uses storebound (skills, MCP server or the CLI in a terminal).
|
These rules apply to every AI tool that uses storebound (skills, MCP server or the CLI in a terminal).
|
||||||
|
|
||||||
|
|
@ -17,7 +17,8 @@ These rules apply to every AI tool that uses storebound (skills, MCP server or t
|
||||||
3. **Read before you write.** `storebound check` (offline) and `storebound validate` (read-only, both stores) tell you
|
3. **Read before you write.** `storebound check` (offline) and `storebound validate` (read-only, both stores) tell you
|
||||||
what is missing and in which order to fix it.
|
what is missing and in which order to fix it.
|
||||||
4. **Credentials only from the environment or `.storebound/`** in the project (gitignored). Never ask for keys,
|
4. **Credentials only from the environment or `.storebound/`** in the project (gitignored). Never ask for keys,
|
||||||
passwords or tokens in chat, never print them, never write them into the config, docs or commits.
|
passwords or tokens in chat, never print them, never write them into the config, docs or commits. The same goes
|
||||||
|
for the App Review demo account (`reviewDemoAccount` in `.storebound/credentials.json`): the owner puts it there.
|
||||||
5. **Never answer a compliance question you cannot know.** Export compliance, Data safety, App Privacy, age rating,
|
5. **Never answer a compliance question you cannot know.** Export compliance, Data safety, App Privacy, age rating,
|
||||||
target audience: ask the owner when the code does not prove the answer. A wrong "no" is worse than a slow "ask".
|
target audience: ask the owner when the code does not prove the answer. A wrong "no" is worse than a slow "ask".
|
||||||
6. **Pick builds by explicit number.** Use the build number / versionCode you just uploaded, never "the latest".
|
6. **Pick builds by explicit number.** Use the build number / versionCode you just uploaded, never "the latest".
|
||||||
|
|
@ -39,24 +40,28 @@ These rules apply to every AI tool that uses storebound (skills, MCP server or t
|
||||||
|
|
||||||
| skill | for |
|
| skill | for |
|
||||||
|---|---|
|
|---|---|
|
||||||
| `ads-levelplay-checks` | Diagnose and verify ad mediation (Unity LevelPlay / ironSource and its networks like Unity Ads, InMobi, Liftoff, AdMob) in a mobile game before and after store release |
|
| `account-deletion` | Make account deletion pass App Store and Google Play review for an app with sign-up or sign-in |
|
||||||
| `app-icons` | Generate every app icon a mobile game needs from one artwork |
|
| `ads-levelplay-checks` | Renamed to ads-mediation-checks (AdMob, AppLovin MAX and Unity LevelPlay / ironSource). Kept so existing installs and links keep working. Use ads-mediation-checks for any ad mediation, app-ads.txt, SKAdNetwork or "no fill" question |
|
||||||
| `app-previews` | Make App Store app preview videos and a Google Play promo video for a mobile game from real gameplay |
|
| `ads-mediation-checks` | Diagnose and verify ad mediation in a mobile app or game before and after store release |
|
||||||
| `appstore-first-release` | Step-by-step first (and later) App Store release of a mobile game |
|
| `app-icons` | Generate every icon a mobile app or game needs from one artwork |
|
||||||
| `aso-basics` | App store optimization basics for a mobile game's text |
|
| `app-previews` | Make App Store app preview videos and a Google Play promo video for a mobile app or game from real footage (gameplay or app flows) |
|
||||||
| `export-compliance` | Answer App Store export compliance (encryption) for a mobile game correctly |
|
| `appstore-first-release` | Step-by-step first (and later) App Store release of a mobile app or game |
|
||||||
| `play-first-release` | Step-by-step first (and later) Google Play release of a mobile game |
|
| `aso-basics` | App store optimization basics for a mobile app's or game's text |
|
||||||
| `portfolio-originality` | Originality gate for studios that ship many similar mobile games |
|
| `export-compliance` | Answer App Store export compliance (encryption) for a mobile app or game correctly |
|
||||||
| `privacy-manifest` | Add and check Apple privacy manifests (PrivacyInfo.xcprivacy) for an iOS game |
|
| `play-first-release` | Step-by-step first (and later) Google Play release of a mobile app or game |
|
||||||
| `privacy-policy` | Write and host one studio-wide privacy policy page for all of a developer's mobile games |
|
| `portfolio-originality` | Originality gate for studios and developers that ship many similar mobile apps or games (templates, white-label apps, reskins) |
|
||||||
|
| `privacy-manifest` | Add and check Apple privacy manifests (PrivacyInfo.xcprivacy) for an iOS app or game |
|
||||||
|
| `privacy-policy` | Write and host one studio-wide privacy policy page for all of a developer's mobile apps and games |
|
||||||
| `release-management` | Ship updates safely after the first release |
|
| `release-management` | Ship updates safely after the first release |
|
||||||
| `review-rejections` | Triage and answer an App Store or Google Play rejection, policy warning or strike for a mobile game |
|
| `review-access` | Give App Store and Google Play reviewers working access to an app behind a sign-in |
|
||||||
| `review-replies` | Reply to App Store and Google Play reviews of a mobile game the safe way |
|
| `review-rejections` | Triage and answer an App Store or Google Play rejection, policy warning or strike for a mobile app or game |
|
||||||
| `store-analytics` | Take store analytics snapshots for a mobile game (App Store impressions, product page views, downloads and conversion through the Analytics Reports API; Google Play store listing visitors, acquisitions and installs from the Play reports bucket) and compare them with listing, screenshot and experiment changes from git |
|
| `review-replies` | Reply to App Store and Google Play reviews of a mobile app or game the safe way |
|
||||||
| `store-declarations` | Answer the store compliance forms for a mobile game |
|
| `store-analytics` | Take store analytics snapshots for a mobile app or game (App Store impressions, product page views, downloads and conversion through the Analytics Reports API; Google Play store listing visitors, acquisitions and installs from the Play reports bucket) and compare them with listing, screenshot and experiment changes from git |
|
||||||
| `store-health` | Watch a released mobile game's crash and ANR health on both stores |
|
| `store-declarations` | Answer the store compliance forms for a mobile app or game |
|
||||||
| `store-iap-setup` | Create and price in-app purchases (consumables, non-consumables like "remove ads", coin/gem packs, starter packs) on Google Play and App Store Connect from one product list |
|
| `store-health` | Watch a released mobile app's or game's crash and ANR health on both stores |
|
||||||
| `store-preflight` | Run and read the storebound readiness checks before submitting a mobile game |
|
| `store-iap-setup` | Create and price in-app purchases (consumables, non-consumables like "remove ads" or a Pro unlock, non-renewing passes, coin/gem packs, starter packs) on Google Play and App Store Connect from one product list |
|
||||||
| `store-screenshots` | Produce store screenshots and the Play feature graphic for a mobile game in every required size and many languages |
|
| `store-preflight` | Run and read the storebound readiness checks before submitting a mobile app or game |
|
||||||
| `testflight` | Run TestFlight for a mobile game through the App Store Connect API |
|
| `store-screenshots` | Produce store screenshots and the Play feature graphic for a mobile app or game in every required size and many languages |
|
||||||
| `whats-new` | Write player-facing release notes ("What's new") for a mobile game update from the git log since the last tag |
|
| `store-subscriptions` | Set up auto-renewable subscriptions on the App Store and Google Play from one config |
|
||||||
|
| `testflight` | Run TestFlight for a mobile app or game through the App Store Connect API |
|
||||||
|
| `whats-new` | Write user-facing release notes ("What's new") for a mobile app or game update from the git log since the last tag |
|
||||||
|
|
|
||||||
50
AGENTS.md
50
AGENTS.md
|
|
@ -2,7 +2,8 @@
|
||||||
|
|
||||||
# storebound
|
# storebound
|
||||||
|
|
||||||
Toolchain for shipping mobile games to Google Play and the App Store. Before a store task, open the matching skill
|
Toolchain for taking mobile apps and games from nothing to "Submit for review" on Google Play and the App Store.
|
||||||
|
Before a store task, open the matching skill
|
||||||
file below and follow it step by step.
|
file below and follow it step by step.
|
||||||
|
|
||||||
These rules apply to every AI tool that uses storebound (skills, MCP server or the CLI in a terminal).
|
These rules apply to every AI tool that uses storebound (skills, MCP server or the CLI in a terminal).
|
||||||
|
|
@ -17,7 +18,8 @@ These rules apply to every AI tool that uses storebound (skills, MCP server or t
|
||||||
3. **Read before you write.** `storebound check` (offline) and `storebound validate` (read-only, both stores) tell you
|
3. **Read before you write.** `storebound check` (offline) and `storebound validate` (read-only, both stores) tell you
|
||||||
what is missing and in which order to fix it.
|
what is missing and in which order to fix it.
|
||||||
4. **Credentials only from the environment or `.storebound/`** in the project (gitignored). Never ask for keys,
|
4. **Credentials only from the environment or `.storebound/`** in the project (gitignored). Never ask for keys,
|
||||||
passwords or tokens in chat, never print them, never write them into the config, docs or commits.
|
passwords or tokens in chat, never print them, never write them into the config, docs or commits. The same goes
|
||||||
|
for the App Review demo account (`reviewDemoAccount` in `.storebound/credentials.json`): the owner puts it there.
|
||||||
5. **Never answer a compliance question you cannot know.** Export compliance, Data safety, App Privacy, age rating,
|
5. **Never answer a compliance question you cannot know.** Export compliance, Data safety, App Privacy, age rating,
|
||||||
target audience: ask the owner when the code does not prove the answer. A wrong "no" is worse than a slow "ask".
|
target audience: ask the owner when the code does not prove the answer. A wrong "no" is worse than a slow "ask".
|
||||||
6. **Pick builds by explicit number.** Use the build number / versionCode you just uploaded, never "the latest".
|
6. **Pick builds by explicit number.** Use the build number / versionCode you just uploaded, never "the latest".
|
||||||
|
|
@ -37,27 +39,31 @@ These rules apply to every AI tool that uses storebound (skills, MCP server or t
|
||||||
|
|
||||||
## Skills
|
## Skills
|
||||||
|
|
||||||
- `skills/ads-levelplay-checks/SKILL.md`: Diagnose and verify ad mediation (Unity LevelPlay / ironSource and its networks like Unity Ads, InMobi, Liftoff, AdMob) in a mobile game before and after store release
|
- `skills/account-deletion/SKILL.md`: Make account deletion pass App Store and Google Play review for an app with sign-up or sign-in
|
||||||
- `skills/app-icons/SKILL.md`: Generate every app icon a mobile game needs from one artwork
|
- `skills/ads-levelplay-checks/SKILL.md`: Renamed to ads-mediation-checks (AdMob, AppLovin MAX and Unity LevelPlay / ironSource). Kept so existing installs and links keep working. Use ads-mediation-checks for any ad mediation, app-ads.txt, SKAdNetwork or "no fill" question
|
||||||
- `skills/app-previews/SKILL.md`: Make App Store app preview videos and a Google Play promo video for a mobile game from real gameplay
|
- `skills/ads-mediation-checks/SKILL.md`: Diagnose and verify ad mediation in a mobile app or game before and after store release
|
||||||
- `skills/appstore-first-release/SKILL.md`: Step-by-step first (and later) App Store release of a mobile game
|
- `skills/app-icons/SKILL.md`: Generate every icon a mobile app or game needs from one artwork
|
||||||
- `skills/aso-basics/SKILL.md`: App store optimization basics for a mobile game's text
|
- `skills/app-previews/SKILL.md`: Make App Store app preview videos and a Google Play promo video for a mobile app or game from real footage (gameplay or app flows)
|
||||||
- `skills/export-compliance/SKILL.md`: Answer App Store export compliance (encryption) for a mobile game correctly
|
- `skills/appstore-first-release/SKILL.md`: Step-by-step first (and later) App Store release of a mobile app or game
|
||||||
- `skills/play-first-release/SKILL.md`: Step-by-step first (and later) Google Play release of a mobile game
|
- `skills/aso-basics/SKILL.md`: App store optimization basics for a mobile app's or game's text
|
||||||
- `skills/portfolio-originality/SKILL.md`: Originality gate for studios that ship many similar mobile games
|
- `skills/export-compliance/SKILL.md`: Answer App Store export compliance (encryption) for a mobile app or game correctly
|
||||||
- `skills/privacy-manifest/SKILL.md`: Add and check Apple privacy manifests (PrivacyInfo.xcprivacy) for an iOS game
|
- `skills/play-first-release/SKILL.md`: Step-by-step first (and later) Google Play release of a mobile app or game
|
||||||
- `skills/privacy-policy/SKILL.md`: Write and host one studio-wide privacy policy page for all of a developer's mobile games
|
- `skills/portfolio-originality/SKILL.md`: Originality gate for studios and developers that ship many similar mobile apps or games (templates, white-label apps, reskins)
|
||||||
|
- `skills/privacy-manifest/SKILL.md`: Add and check Apple privacy manifests (PrivacyInfo.xcprivacy) for an iOS app or game
|
||||||
|
- `skills/privacy-policy/SKILL.md`: Write and host one studio-wide privacy policy page for all of a developer's mobile apps and games
|
||||||
- `skills/release-management/SKILL.md`: Ship updates safely after the first release
|
- `skills/release-management/SKILL.md`: Ship updates safely after the first release
|
||||||
- `skills/review-rejections/SKILL.md`: Triage and answer an App Store or Google Play rejection, policy warning or strike for a mobile game
|
- `skills/review-access/SKILL.md`: Give App Store and Google Play reviewers working access to an app behind a sign-in
|
||||||
- `skills/review-replies/SKILL.md`: Reply to App Store and Google Play reviews of a mobile game the safe way
|
- `skills/review-rejections/SKILL.md`: Triage and answer an App Store or Google Play rejection, policy warning or strike for a mobile app or game
|
||||||
- `skills/store-analytics/SKILL.md`: Take store analytics snapshots for a mobile game (App Store impressions, product page views, downloads and conversion through the Analytics Reports API; Google Play store listing visitors, acquisitions and installs from the Play reports bucket) and compare them with listing, screenshot and experiment changes from git
|
- `skills/review-replies/SKILL.md`: Reply to App Store and Google Play reviews of a mobile app or game the safe way
|
||||||
- `skills/store-declarations/SKILL.md`: Answer the store compliance forms for a mobile game
|
- `skills/store-analytics/SKILL.md`: Take store analytics snapshots for a mobile app or game (App Store impressions, product page views, downloads and conversion through the Analytics Reports API; Google Play store listing visitors, acquisitions and installs from the Play reports bucket) and compare them with listing, screenshot and experiment changes from git
|
||||||
- `skills/store-health/SKILL.md`: Watch a released mobile game's crash and ANR health on both stores
|
- `skills/store-declarations/SKILL.md`: Answer the store compliance forms for a mobile app or game
|
||||||
- `skills/store-iap-setup/SKILL.md`: Create and price in-app purchases (consumables, non-consumables like "remove ads", coin/gem packs, starter packs) on Google Play and App Store Connect from one product list
|
- `skills/store-health/SKILL.md`: Watch a released mobile app's or game's crash and ANR health on both stores
|
||||||
- `skills/store-preflight/SKILL.md`: Run and read the storebound readiness checks before submitting a mobile game
|
- `skills/store-iap-setup/SKILL.md`: Create and price in-app purchases (consumables, non-consumables like "remove ads" or a Pro unlock, non-renewing passes, coin/gem packs, starter packs) on Google Play and App Store Connect from one product list
|
||||||
- `skills/store-screenshots/SKILL.md`: Produce store screenshots and the Play feature graphic for a mobile game in every required size and many languages
|
- `skills/store-preflight/SKILL.md`: Run and read the storebound readiness checks before submitting a mobile app or game
|
||||||
- `skills/testflight/SKILL.md`: Run TestFlight for a mobile game through the App Store Connect API
|
- `skills/store-screenshots/SKILL.md`: Produce store screenshots and the Play feature graphic for a mobile app or game in every required size and many languages
|
||||||
- `skills/whats-new/SKILL.md`: Write player-facing release notes ("What's new") for a mobile game update from the git log since the last tag
|
- `skills/store-subscriptions/SKILL.md`: Set up auto-renewable subscriptions on the App Store and Google Play from one config
|
||||||
|
- `skills/testflight/SKILL.md`: Run TestFlight for a mobile app or game through the App Store Connect API
|
||||||
|
- `skills/whats-new/SKILL.md`: Write user-facing release notes ("What's new") for a mobile app or game update from the git log since the last tag
|
||||||
|
|
||||||
## Working on storebound itself
|
## Working on storebound itself
|
||||||
|
|
||||||
|
|
|
||||||
50
CHANGELOG.md
50
CHANGELOG.md
|
|
@ -1,5 +1,55 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 0.5.0 · 2026-10-11
|
||||||
|
|
||||||
|
Apps and games: storebound is for every mobile app, not only games, and the in-app catalog is complete on both stores.
|
||||||
|
|
||||||
|
- **Positioning**: "Take a mobile app or game from nothing to Submit for review on Google Play and the App Store"
|
||||||
|
across the README, the site (new "Apps and games" section, app screenshot style, og image), package, plugin and
|
||||||
|
adapter descriptions, CLI help, MCP server instructions and the skills. Game-specific advice stays, marked for games.
|
||||||
|
- **`init --profile app|game|subscription-app`** (default `app`): per profile a config, `declarations.md`,
|
||||||
|
`app-privacy.md`, the Data safety section, listing and screenshot copy and a privacy policy. app = utility /
|
||||||
|
productivity app with an optional account and analytics, no ads; subscription-app = accounts + auto-renewable
|
||||||
|
subscriptions with the disclosure text; game = the 0.4 templates. Every answer is flagged "edit to match your app".
|
||||||
|
Configs without `app.profile` keep working as games.
|
||||||
|
- **App screenshot style** (`shots.style: 'app'`, the default for the app profiles): calm gradient, a clean device frame,
|
||||||
|
headline + subline, no sparkles or badges (badges only as quiet chips), status bar text that follows the frame, Inter
|
||||||
|
by default, app palettes (mist, paper, mint, sand, rose, sky, ocean, slate), its own feature graphic. Game style
|
||||||
|
unchanged. New demo `examples/demo-app` ("Tidy Lists").
|
||||||
|
- **App identity**: `app.platforms` (default from the `apple` / `play` sections) and `platforms` on a product or
|
||||||
|
subscription to sell it on one store only; one shared catalog and shared listings, per-platform settings in
|
||||||
|
`apple` / `play`.
|
||||||
|
- **Subscriptions on both stores**: `apple subscriptions` (groups and display names, subscriptions with period, level,
|
||||||
|
family sharing, localizations, availability, prices from the USA price point and its equalizations plus overrides
|
||||||
|
and `--csv` rows of the prices sheet incl. scheduled changes, introductory offers per territory, promotional offers,
|
||||||
|
offer code campaigns, custom codes only with `--codes` after a terminal confirmation, review screenshots) and
|
||||||
|
`play subscriptions` (listings with benefits, one auto-renewing base plan with grace period and regional prices from
|
||||||
|
`convertRegionPrices`, overrides and CSV, activation, the intro offer for new subscribers and extra offers chosen by
|
||||||
|
your app through offer tags). Both print a plan, `--dry` stops there, a terminal run asks first; without a terminal
|
||||||
|
(MCP) only new records are created and live price changes wait for the owner. Skill `store-subscriptions`.
|
||||||
|
- **Full IAP catalog**: product type `non_renewing` (Apple NON_RENEWING_SUBSCRIPTION; a consumed one-time product on
|
||||||
|
Play), and **`catalog diff`**: the config's products and subscriptions against both stores (missing, extra, type,
|
||||||
|
billing period, level, US and override prices, localizations, offers) plus regions where the two stores price the
|
||||||
|
same item differently (same currency, `--threshold`). Read-only, exit 1 on mismatches.
|
||||||
|
- **Review access**: `apple review-details` sends `demoAccountRequired` / `demoAccountName` / `demoAccountPassword`
|
||||||
|
from `reviewDemoAccount` in `.storebound/credentials.json` (or `REVIEW_DEMO_USER` / `REVIEW_DEMO_PASSWORD`), masked
|
||||||
|
in every log line, and adds the sign-in steps (`reviewAccess.instructions`) and where account deletion is
|
||||||
|
(`accounts.inApp`) to the notes (4000-byte check). Skill `review-access`.
|
||||||
|
- **Account deletion**: `accounts { enabled, deletionUrl, inApp }`; skill `account-deletion` (Apple 5.1.1(v), Play's
|
||||||
|
in-app + web requirement and Data safety). `dataSafety.extra` adds CSV rows for questions Google does not document
|
||||||
|
(e.g. the delete-account URL id from a Console export).
|
||||||
|
- **Checks**: `check` reports the profile (delete-account URL, Data safety consistent with accounts, demo account
|
||||||
|
present, terms URL with subscriptions, subscription review screenshots); `validate` adds subscription states,
|
||||||
|
localizations, group names and review screenshots (App Store), active base plans (Play), the delete-account and
|
||||||
|
terms URLs answering, the demo account on App Review and a Terms of Use link in the descriptions.
|
||||||
|
- **Ad mediation**: `ads-levelplay-checks` became `ads-mediation-checks` (AdMob Ad Inspector, AppLovin MAX Mediation
|
||||||
|
Debugger, LevelPlay as a section, app-ads.txt, SKAdNetwork); the old name stays as a pointer skill.
|
||||||
|
- **MCP tools**: `apple_subscriptions`, `play_subscriptions` (dry run by default), `catalog_diff` (read-only). Custom
|
||||||
|
offer codes and live price changes are not reachable through MCP.
|
||||||
|
- Unverified until a live account run (see the README): free promotional offers / offer codes without a price point,
|
||||||
|
inline subscription prices and intro offers via `PATCH /v1/subscriptions/{id}`, Play relative-discount and untargeted
|
||||||
|
offers, the Play billing period strings and the undocumented Data safety ids.
|
||||||
|
|
||||||
## 0.4.0 · 2026-10-10
|
## 0.4.0 · 2026-10-10
|
||||||
|
|
||||||
Wave 2: TestFlight and life after launch (stability, reviews, prices, analytics, experiments), plus MCP 2026-07-28.
|
Wave 2: TestFlight and life after launch (stability, reviews, prices, analytics, experiments), plus MCP 2026-07-28.
|
||||||
|
|
|
||||||
49
GEMINI.md
49
GEMINI.md
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# storebound
|
# storebound
|
||||||
|
|
||||||
This extension ships Agent Skills (skills/) and the storebound MCP server for mobile game store releases.
|
This extension ships Agent Skills (skills/) and the storebound MCP server for mobile app and game store releases.
|
||||||
|
|
||||||
These rules apply to every AI tool that uses storebound (skills, MCP server or the CLI in a terminal).
|
These rules apply to every AI tool that uses storebound (skills, MCP server or the CLI in a terminal).
|
||||||
|
|
||||||
|
|
@ -16,7 +16,8 @@ These rules apply to every AI tool that uses storebound (skills, MCP server or t
|
||||||
3. **Read before you write.** `storebound check` (offline) and `storebound validate` (read-only, both stores) tell you
|
3. **Read before you write.** `storebound check` (offline) and `storebound validate` (read-only, both stores) tell you
|
||||||
what is missing and in which order to fix it.
|
what is missing and in which order to fix it.
|
||||||
4. **Credentials only from the environment or `.storebound/`** in the project (gitignored). Never ask for keys,
|
4. **Credentials only from the environment or `.storebound/`** in the project (gitignored). Never ask for keys,
|
||||||
passwords or tokens in chat, never print them, never write them into the config, docs or commits.
|
passwords or tokens in chat, never print them, never write them into the config, docs or commits. The same goes
|
||||||
|
for the App Review demo account (`reviewDemoAccount` in `.storebound/credentials.json`): the owner puts it there.
|
||||||
5. **Never answer a compliance question you cannot know.** Export compliance, Data safety, App Privacy, age rating,
|
5. **Never answer a compliance question you cannot know.** Export compliance, Data safety, App Privacy, age rating,
|
||||||
target audience: ask the owner when the code does not prove the answer. A wrong "no" is worse than a slow "ask".
|
target audience: ask the owner when the code does not prove the answer. A wrong "no" is worse than a slow "ask".
|
||||||
6. **Pick builds by explicit number.** Use the build number / versionCode you just uploaded, never "the latest".
|
6. **Pick builds by explicit number.** Use the build number / versionCode you just uploaded, never "the latest".
|
||||||
|
|
@ -38,24 +39,28 @@ These rules apply to every AI tool that uses storebound (skills, MCP server or t
|
||||||
|
|
||||||
| skill | for |
|
| skill | for |
|
||||||
|---|---|
|
|---|---|
|
||||||
| `ads-levelplay-checks` | Diagnose and verify ad mediation (Unity LevelPlay / ironSource and its networks like Unity Ads, InMobi, Liftoff, AdMob) in a mobile game before and after store release |
|
| `account-deletion` | Make account deletion pass App Store and Google Play review for an app with sign-up or sign-in |
|
||||||
| `app-icons` | Generate every app icon a mobile game needs from one artwork |
|
| `ads-levelplay-checks` | Renamed to ads-mediation-checks (AdMob, AppLovin MAX and Unity LevelPlay / ironSource). Kept so existing installs and links keep working. Use ads-mediation-checks for any ad mediation, app-ads.txt, SKAdNetwork or "no fill" question |
|
||||||
| `app-previews` | Make App Store app preview videos and a Google Play promo video for a mobile game from real gameplay |
|
| `ads-mediation-checks` | Diagnose and verify ad mediation in a mobile app or game before and after store release |
|
||||||
| `appstore-first-release` | Step-by-step first (and later) App Store release of a mobile game |
|
| `app-icons` | Generate every icon a mobile app or game needs from one artwork |
|
||||||
| `aso-basics` | App store optimization basics for a mobile game's text |
|
| `app-previews` | Make App Store app preview videos and a Google Play promo video for a mobile app or game from real footage (gameplay or app flows) |
|
||||||
| `export-compliance` | Answer App Store export compliance (encryption) for a mobile game correctly |
|
| `appstore-first-release` | Step-by-step first (and later) App Store release of a mobile app or game |
|
||||||
| `play-first-release` | Step-by-step first (and later) Google Play release of a mobile game |
|
| `aso-basics` | App store optimization basics for a mobile app's or game's text |
|
||||||
| `portfolio-originality` | Originality gate for studios that ship many similar mobile games |
|
| `export-compliance` | Answer App Store export compliance (encryption) for a mobile app or game correctly |
|
||||||
| `privacy-manifest` | Add and check Apple privacy manifests (PrivacyInfo.xcprivacy) for an iOS game |
|
| `play-first-release` | Step-by-step first (and later) Google Play release of a mobile app or game |
|
||||||
| `privacy-policy` | Write and host one studio-wide privacy policy page for all of a developer's mobile games |
|
| `portfolio-originality` | Originality gate for studios and developers that ship many similar mobile apps or games (templates, white-label apps, reskins) |
|
||||||
|
| `privacy-manifest` | Add and check Apple privacy manifests (PrivacyInfo.xcprivacy) for an iOS app or game |
|
||||||
|
| `privacy-policy` | Write and host one studio-wide privacy policy page for all of a developer's mobile apps and games |
|
||||||
| `release-management` | Ship updates safely after the first release |
|
| `release-management` | Ship updates safely after the first release |
|
||||||
| `review-rejections` | Triage and answer an App Store or Google Play rejection, policy warning or strike for a mobile game |
|
| `review-access` | Give App Store and Google Play reviewers working access to an app behind a sign-in |
|
||||||
| `review-replies` | Reply to App Store and Google Play reviews of a mobile game the safe way |
|
| `review-rejections` | Triage and answer an App Store or Google Play rejection, policy warning or strike for a mobile app or game |
|
||||||
| `store-analytics` | Take store analytics snapshots for a mobile game (App Store impressions, product page views, downloads and conversion through the Analytics Reports API; Google Play store listing visitors, acquisitions and installs from the Play reports bucket) and compare them with listing, screenshot and experiment changes from git |
|
| `review-replies` | Reply to App Store and Google Play reviews of a mobile app or game the safe way |
|
||||||
| `store-declarations` | Answer the store compliance forms for a mobile game |
|
| `store-analytics` | Take store analytics snapshots for a mobile app or game (App Store impressions, product page views, downloads and conversion through the Analytics Reports API; Google Play store listing visitors, acquisitions and installs from the Play reports bucket) and compare them with listing, screenshot and experiment changes from git |
|
||||||
| `store-health` | Watch a released mobile game's crash and ANR health on both stores |
|
| `store-declarations` | Answer the store compliance forms for a mobile app or game |
|
||||||
| `store-iap-setup` | Create and price in-app purchases (consumables, non-consumables like "remove ads", coin/gem packs, starter packs) on Google Play and App Store Connect from one product list |
|
| `store-health` | Watch a released mobile app's or game's crash and ANR health on both stores |
|
||||||
| `store-preflight` | Run and read the storebound readiness checks before submitting a mobile game |
|
| `store-iap-setup` | Create and price in-app purchases (consumables, non-consumables like "remove ads" or a Pro unlock, non-renewing passes, coin/gem packs, starter packs) on Google Play and App Store Connect from one product list |
|
||||||
| `store-screenshots` | Produce store screenshots and the Play feature graphic for a mobile game in every required size and many languages |
|
| `store-preflight` | Run and read the storebound readiness checks before submitting a mobile app or game |
|
||||||
| `testflight` | Run TestFlight for a mobile game through the App Store Connect API |
|
| `store-screenshots` | Produce store screenshots and the Play feature graphic for a mobile app or game in every required size and many languages |
|
||||||
| `whats-new` | Write player-facing release notes ("What's new") for a mobile game update from the git log since the last tag |
|
| `store-subscriptions` | Set up auto-renewable subscriptions on the App Store and Google Play from one config |
|
||||||
|
| `testflight` | Run TestFlight for a mobile app or game through the App Store Connect API |
|
||||||
|
| `whats-new` | Write user-facing release notes ("What's new") for a mobile app or game update from the git log since the last tag |
|
||||||
|
|
|
||||||
141
README.md
141
README.md
|
|
@ -3,26 +3,32 @@
|
||||||
**Website: [storebound.dev](https://storebound.dev)**
|
**Website: [storebound.dev](https://storebound.dev)**
|
||||||
|
|
||||||
[](LICENSE)
|
[](LICENSE)
|
||||||
[](CHANGELOG.md)
|
[](CHANGELOG.md)
|
||||||
[](https://bun.sh)
|
[](https://bun.sh)
|
||||||
[](package.json)
|
[](package.json)
|
||||||
[](skills)
|
[](skills)
|
||||||
[](#mcp-server)
|
[](#mcp-server)
|
||||||
|
|
||||||
**Take a mobile game from nothing to "Submit for review" on Google Play and the App Store: app records, listings in
|
**Take a mobile app or game from nothing to "Submit for review" on Google Play and the App Store: app records,
|
||||||
every language, in-app products with regional prices, every questionnaire, privacy, icons, screenshots and previews,
|
listings in every language, in-app products and subscriptions with regional prices, every questionnaire, account
|
||||||
with one config and your AI coding agent.**
|
deletion and review access, privacy, icons, screenshots and previews, with one config and your AI coding agent.**
|
||||||
|
|
||||||
Hey, I'm CRTkafa. I built this while getting my own game through both stores and hit every wall on the way: draft
|
Hey, I'm CRTkafa. I built this while getting my own game through both stores and hit every wall on the way: draft
|
||||||
apps, edits that die when you touch the Console, the "first IAP must ship with a version" dance, Data safety CSVs that
|
apps, edits that die when you touch the Console, the "first IAP must ship with a version" dance, Data safety CSVs that
|
||||||
silently need one more answer, an IARC questionnaire, target audience, App Privacy labels that are saved but not
|
silently need one more answer, an IARC questionnaire, target audience, App Privacy labels that are saved but not
|
||||||
published, screenshots in 7 sizes x 14 languages... I wrote each fix down as code or as a checklist. It works for me,
|
published, screenshots in 7 sizes x 14 languages... I wrote each fix down as code or as a checklist. None of those
|
||||||
so I open-sourced it. Use it too.
|
walls is game-only: a to-do app with accounts and a subscription hits the same ones, plus a few of its own (a demo
|
||||||
|
account for the reviewer, account deletion, subscription disclosures), so storebound covers apps and games alike. It
|
||||||
|
works for me, so I open-sourced it. Use it too.
|
||||||
|
|
||||||
No account, no sign-up, no telemetry. A small Bun CLI that talks to the official store APIs,
|
No account, no sign-up, no telemetry. A small Bun CLI that talks to the official store APIs,
|
||||||
Agent Skills that walk your AI coding tool (or you) through the parts that are still console clicks, and an MCP server
|
Agent Skills that walk your AI coding tool (or you) through the parts that are still console clicks, and an MCP server
|
||||||
so agents can call the CLI safely. **storebound never presses Submit, Release or Publish for you.**
|
so agents can call the CLI safely. **storebound never presses Submit, Release or Publish for you.**
|
||||||
|
|
||||||
|
Pick a profile and start from honest templates: `init --profile app` (utility / productivity app, optional account,
|
||||||
|
analytics, no ads; the default), `--profile subscription-app` (accounts + auto-renewable subscriptions) or
|
||||||
|
`--profile game` (free-to-play with ads and IAP).
|
||||||
|
|
||||||
It keeps going after launch: TestFlight groups and testers, crash and ANR vitals against the store thresholds, review
|
It keeps going after launch: TestFlight groups and testers, crash and ANR vitals against the store thresholds, review
|
||||||
replies you approve before they go out, prices for many products and regions from one CSV, store analytics next to
|
replies you approve before they go out, prices for many products and regions from one CSV, store analytics next to
|
||||||
your listing changes, and App Store product page tests from your screenshot variants.
|
your listing changes, and App Store product page tests from your screenshot variants.
|
||||||
|
|
@ -31,7 +37,7 @@ your listing changes, and App Store product page tests from your screenshot vari
|
||||||
|
|
||||||
## The journey
|
## The journey
|
||||||
|
|
||||||
Everything a game needs before review, in the order I do it. For each step: what storebound does through the store
|
Everything an app or game needs before review, in the order I do it. For each step: what storebound does through the store
|
||||||
APIs (or on your machine), what the skill walks your agent through where the stores have no public API, and what stays
|
APIs (or on your machine), what the skill walks your agent through where the stores have no public API, and what stays
|
||||||
your own click.
|
your own click.
|
||||||
|
|
||||||
|
|
@ -43,20 +49,20 @@ your own click.
|
||||||
|
|
||||||
| # | step | storebound (API / local) | skill + agent (UI) | you |
|
| # | step | storebound (API / local) | skill + agent (UI) | you |
|
||||||
|---|---|---|---|---|
|
|---|---|---|---|---|
|
||||||
| 1 | **Set up** | `init` (config, `store/*.md`, declarations and privacy templates), `install --agent <tool>`, `check` | Play: service account + API access invite; App Store: API team key (`play-first-release`, `appstore-first-release`) | developer accounts; Paid Applications agreement, banking and tax; Play payments profile |
|
| 1 | **Set up** | `init --profile app\|game\|subscription-app` (config, `store/*.md`, declarations, App Privacy and privacy templates per profile), `install --agent <tool>`, `check` | Play: service account + API access invite; App Store: API team key (`play-first-release`, `appstore-first-release`) | developer accounts; Paid Applications agreement, banking and tax; Play payments profile |
|
||||||
| 2 | **App records and bundle id** | `apple bundle` registers the bundle id, `apple status` finds the app record | App Store Connect > New App (no API); Play Console > Create app; the very first AAB upload when Play needs it from the Console | the declarations you accept when creating the Play app |
|
| 2 | **App records and bundle id** | `apple bundle` registers the bundle id, `apple status` finds the app record | App Store Connect > New App (no API); Play Console > Create app; the very first AAB upload when Play needs it from the Console | the declarations you accept when creating the Play app |
|
||||||
| 3 | **Builds and testers** | `play next-version-code`, `play release app.aab` (internal track), `apple next-build`, `xcodebuild` archive + upload with the API key (the skill has the commands), `apple encryption`, `apple testflight groups / what-to-test / info / distribute` (internal groups) | Play internal testers list, Apple sandbox testers (`play-first-release`, `testflight`) | `apple testflight testers` (Apple emails the invitations), external groups and Beta App Review (`distribute --submit-review`) |
|
| 3 | **Builds and testers** | `play next-version-code`, `play release app.aab` (internal track), `apple next-build`, `xcodebuild` archive + upload with the API key (the skill has the commands), `apple encryption`, `apple testflight groups / what-to-test / info / distribute` (internal groups) | Play internal testers list, Apple sandbox testers (`play-first-release`, `testflight`) | `apple testflight testers` (Apple emails the invitations), external groups and Beta App Review (`distribute --submit-review`) |
|
||||||
| 4 | **In-app products** | `play products` (regional prices from USD + your overrides, activated), `apple iap` (localizations, price schedule, availability), `apple iap-review` (review screenshots) | Play license testers, Apple sandbox testers, "Add for Review" of the first IAPs into the version's submission (`store-iap-setup`) | |
|
| 4 | **In-app products and subscriptions** | `play products` (regional prices from USD + your overrides, activated), `apple iap` (consumable, non-consumable, non-renewing; localizations, price schedule, availability), `apple iap-review`, `apple subscriptions` (groups, levels, equalized prices, intro and promotional offers, offer codes), `play subscriptions` (base plans, regional prices, offers), `catalog diff` (both stores against one catalog) | Play license testers, Apple sandbox testers, "Add for Review" of the first IAPs and subscriptions into the version's submission, Play promo codes (`store-iap-setup`, `store-subscriptions`) | custom offer codes (`apple subscriptions --codes` asks first) |
|
||||||
| 5 | **Store listings, every language** | `play listing` (title, short / full description, contact email + website, promo video URL), `apple listing --version x --build N` (name, subtitle, description, keywords, promo text, URLs, privacy URL, manual release), `whats-new`, `check` (limits), `check --aso` | Play store settings: category and tags (`play-first-release`) | |
|
| 5 | **Store listings, every language** | `play listing` (title, short / full description, contact email + website, promo video URL), `apple listing --version x --build N` (name, subtitle, description, keywords, promo text, URLs, privacy URL, manual release), `whats-new`, `check` (limits), `check --aso` | Play store settings: category and tags (`play-first-release`) | |
|
||||||
| 6 | **Play questionnaires** | `play data-safety`: the whole Data safety form from `dataSafety` in the config (CSV import through the API) | Policy and programs > App content, answers prepared in `store/declarations.md` (`store-declarations`): privacy policy, app access / sign-in details, ads, content rating (IARC), target audience and content, advertising ID, news, government, financial and health features; Data safety summary check | the answers themselves are your statements: the agent asks when the code does not prove them |
|
| 6 | **Play questionnaires** | `play data-safety`: the whole Data safety form from `dataSafety` in the config (CSV import through the API) | Policy and programs > App content, answers prepared in `store/declarations.md` (`store-declarations`): privacy policy, app access with the demo account (`review-access`), delete-account URL (`account-deletion`), ads, content rating (IARC), target audience and content, advertising ID, news, government, financial and health features; Data safety summary check | the answers themselves are your statements: the agent asks when the code does not prove them |
|
||||||
| 7 | **App Store questionnaires** | `apple appinfo` (categories, age rating declaration, content rights, Free price, availability), `apple encryption` (export compliance from `apple.usesNonExemptEncryption`, never guessed), `apple review-details` (contact + notes) | App Privacy nutrition labels from `store/app-privacy.md`, then **Publish** (`store-declarations`); encryption documentation when the answer is yes (`export-compliance`); the first availability record if the API refuses it | the export compliance answer (a legal statement, set once in the config) |
|
| 7 | **App Store questionnaires** | `apple appinfo` (categories, age rating declaration, content rights, Free price, availability), `apple encryption` (export compliance from `apple.usesNonExemptEncryption`, never guessed), `apple review-details` (contact, demo account from `.storebound/`, notes) | App Privacy nutrition labels from `store/app-privacy.md`, then **Publish** (`store-declarations`); encryption documentation when the answer is yes (`export-compliance`); the first availability record if the API refuses it | the export compliance answer (a legal statement, set once in the config) |
|
||||||
| 8 | **Privacy** | privacy policy page template (`init`), `privacy-manifest --ios <path>` (PrivacyInfo.xcprivacy, required-reason APIs, SDK manifests), `validate` checks the policy URL answers | host the page, link it in both consoles and inside the game (`privacy-policy`, `privacy-manifest`) | |
|
| 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 | | |
|
| 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` |
|
| 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** | `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.** |
|
| 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`) |
|
| 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 game** | `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) |
|
| 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) |
|
||||||
|
|
||||||
New personal Play developer accounts also need a closed test with 12+ testers for 14 days before production; the
|
New personal Play developer accounts also need a closed test with 12+ testers for 14 days before production; the
|
||||||
`play-first-release` skill covers it.
|
`play-first-release` skill covers it.
|
||||||
|
|
@ -66,13 +72,14 @@ New personal Play developer accounts also need a closed test with 12+ testers fo
|
||||||
- **Through the API** (storebound does it): bundle id, builds on tracks, versions and build selection, listings in
|
- **Through the API** (storebound does it): bundle id, builds on tracks, versions and build selection, listings in
|
||||||
every language, graphics, screenshots, app previews, in-app products and prices (also from one CSV), Play Data
|
every language, graphics, screenshots, app previews, in-app products and prices (also from one CSV), Play Data
|
||||||
safety, Apple age rating, categories, content rights, price and availability, export compliance answer, App Review
|
safety, Apple age rating, categories, content rights, price and availability, export compliance answer, App Review
|
||||||
details, phased release and staged rollout, TestFlight groups / testers / What to Test / Test Information, crash and
|
details with the demo account, subscriptions (Apple groups, levels, prices, introductory and promotional offers,
|
||||||
|
offer codes; Play base plans, regional prices, offers), phased release and staged rollout, TestFlight groups / testers / What to Test / Test Information, crash and
|
||||||
ANR vitals and App Store diagnostics, review replies, App Store analytics reports, App Store Product Page
|
ANR vitals and App Store diagnostics, review replies, App Store analytics reports, App Store Product Page
|
||||||
Optimization tests.
|
Optimization tests.
|
||||||
- **Console only** (no public API; the skill + your agent's browser, or you): creating the App Store Connect app record
|
- **Console only** (no public API; the skill + your agent's browser, or you): creating the App Store Connect app record
|
||||||
and the Play app, Play App content (IARC content rating, target audience, ads, advertising ID, app access,
|
and the Play app, Play App content (IARC content rating, target audience, ads, advertising ID, app access,
|
||||||
government / financial / health / news), Play category and tags, Play countries, App Privacy labels and their
|
government / financial / health / news, app access with the demo account), Play category and tags, Play countries,
|
||||||
Publish, adding first IAPs to the submission, Play store listing experiments, test results of both stores' experiments.
|
App Privacy labels and their Publish, adding first IAPs and subscriptions to the submission, Play promo codes, Play store listing experiments, test results of both stores' experiments.
|
||||||
Play store statistics have no API either: storebound reads the monthly exports from your Play reports bucket.
|
Play store statistics have no API either: storebound reads the monthly exports from your Play reports bucket.
|
||||||
- **Only you**: agreements, banking and tax, and the final Send for review / Submit for Review. Releases and
|
- **Only you**: agreements, banking and tax, and the final Send for review / Submit for Review. Releases and
|
||||||
rollouts after approval, Beta App Review, tester invitations, sending review replies, applying price changes and
|
rollouts after approval, Beta App Review, tester invitations, sending review replies, applying price changes and
|
||||||
|
|
@ -83,9 +90,9 @@ New personal Play developer accounts also need a closed test with 12+ testers fo
|
||||||
You need [Bun](https://bun.sh) 1.1+ (and `ffmpeg` for icons, screenshots and video).
|
You need [Bun](https://bun.sh) 1.1+ (and `ffmpeg` for icons, screenshots and video).
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cd my-game
|
cd my-app
|
||||||
bun add -d storebound playwright # or: bun add -d git+https://git.crt.fyi/CRT/storebound.git playwright
|
bun add -d storebound playwright # or: bun add -d git+https://git.crt.fyi/CRT/storebound.git playwright
|
||||||
bunx storebound init # storebound.config.ts, store/*.md, declarations, privacy policy, .storebound/ (gitignored)
|
bunx storebound init # --profile app (default) | subscription-app | game: config, store/*.md, declarations, privacy policy, .storebound/ (gitignored)
|
||||||
# fill in storebound.config.ts and the store/ files
|
# fill in storebound.config.ts and the store/ files
|
||||||
bunx storebound check # offline: config, copy limits, Data safety answers, products, files
|
bunx storebound check # offline: config, copy limits, Data safety answers, products, files
|
||||||
```
|
```
|
||||||
|
|
@ -96,11 +103,14 @@ Add credentials (below), then walk the journey with dry runs first:
|
||||||
bunx storebound apple bundle --dry
|
bunx storebound apple bundle --dry
|
||||||
bunx storebound play listing --dry
|
bunx storebound play listing --dry
|
||||||
bunx storebound play products --dry && bunx storebound apple iap --dry
|
bunx storebound play products --dry && bunx storebound apple iap --dry
|
||||||
|
bunx storebound apple subscriptions --dry && bunx storebound play subscriptions --dry
|
||||||
|
bunx storebound apple review-details --dry # contact + demo account from .storebound/ (masked) + notes
|
||||||
bunx storebound play data-safety --dry --csv store/data-safety.csv
|
bunx storebound play data-safety --dry --csv store/data-safety.csv
|
||||||
bunx storebound apple appinfo --dry
|
bunx storebound apple appinfo --dry
|
||||||
bunx storebound icons --dry
|
bunx storebound icons --dry
|
||||||
bunx storebound shots capture && bunx storebound shots render && bunx storebound shots gallery
|
bunx storebound shots capture && bunx storebound shots render && bunx storebound shots gallery
|
||||||
bunx storebound validate # read-only: what still blocks a submission, per store, in fix order
|
bunx storebound validate # read-only: what still blocks a submission, per store, in fix order
|
||||||
|
bunx storebound catalog diff # read-only: products + subscriptions on both stores vs the config, prices per region
|
||||||
```
|
```
|
||||||
|
|
||||||
After launch:
|
After launch:
|
||||||
|
|
@ -113,8 +123,9 @@ bunx storebound prices export && bunx storebound prices import --dry
|
||||||
bunx storebound analytics snapshot && bunx storebound analytics compare
|
bunx storebound analytics snapshot && bunx storebound analytics compare
|
||||||
```
|
```
|
||||||
|
|
||||||
Or ask your agent: "take my game to Google Play and the App Store", "fill in the store questionnaires", "set up the
|
Or ask your agent: "take my app to Google Play and the App Store", "fill in the store questionnaires", "set up the
|
||||||
in-app purchases on both stores", "make store screenshots in 5 languages", "is my app ready to submit", "why was my
|
in-app purchases and a yearly subscription with a free trial on both stores", "do both stores sell the same
|
||||||
|
catalog", "the reviewer could not sign in", "make store screenshots in 5 languages", "is my app ready to submit", "why was my
|
||||||
update rejected", "put build 42 on TestFlight", "how are our crash rates", "answer the new reviews", "did the new
|
update rejected", "put build 42 on TestFlight", "how are our crash rates", "answer the new reviews", "did the new
|
||||||
screenshots help". The matching skill takes over.
|
screenshots help". The matching skill takes over.
|
||||||
|
|
||||||
|
|
@ -128,6 +139,7 @@ Read from environment variables, or from `.storebound/credentials.json` in your
|
||||||
| `ASC_KEY_ID`, `ASC_ISSUER_ID` | App Store Connect API team key (Users and Access > Integrations) |
|
| `ASC_KEY_ID`, `ASC_ISSUER_ID` | App Store Connect API team key (Users and Access > Integrations) |
|
||||||
| `ASC_P8` | path to `AuthKey_<id>.p8` (default `~/.appstoreconnect/private_keys/AuthKey_<id>.p8`) |
|
| `ASC_P8` | path to `AuthKey_<id>.p8` (default `~/.appstoreconnect/private_keys/AuthKey_<id>.p8`) |
|
||||||
| `reviewContact` | (file only) App Review contact name / phone / email |
|
| `reviewContact` | (file only) App Review contact name / phone / email |
|
||||||
|
| `reviewDemoAccount` / `REVIEW_DEMO_USER`, `REVIEW_DEMO_PASSWORD` | demo account for App Review (`reviewAccess.signInRequired`); never in the config or the repo, masked in logs |
|
||||||
|
|
||||||
## Install for your AI tool
|
## Install for your AI tool
|
||||||
|
|
||||||
|
|
@ -159,10 +171,11 @@ run in the background with a log (`storebound shots render > .storebound/render.
|
||||||
|
|
||||||
| command | kind | what |
|
| command | kind | what |
|
||||||
|---|---|---|
|
|---|---|---|
|
||||||
| `init` | local | copy the templates, gitignore `.storebound/` |
|
| `init [--profile app\|game\|subscription-app]` | local | copy the templates of a profile (default app), gitignore `.storebound/` |
|
||||||
| `install --agent <tool>` | local | skills + MCP entry for an AI tool |
|
| `install --agent <tool>` | local | skills + MCP entry for an AI tool |
|
||||||
| `mcp` | local | stdio MCP server wrapping the commands |
|
| `mcp` | local | stdio MCP server wrapping the commands |
|
||||||
| `check` | local | config, copy limits, data safety, products, files; warns on untranslated release notes |
|
| `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 |
|
| `check --aso` | local | keyword audit: App Store keyword field rules, Play stuffing / claims |
|
||||||
| `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 |
|
| `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 |
|
| `whats-new [--since <tag>]` | local | draft player-facing release notes from git log into both listing files |
|
||||||
|
|
@ -179,6 +192,7 @@ run in the background with a log (`storebound shots render > .storebound/render.
|
||||||
| `play listing` | API | app details, title / short / full description per language, promo video URL (`play.video`) |
|
| `play listing` | API | app details, title / short / full description per language, promo video URL (`play.video`) |
|
||||||
| `play images [--variant b]` | API | icon, feature graphic, phone / 7" / 10" screenshots, one edit per language |
|
| `play images [--variant b]` | API | icon, feature graphic, phone / 7" / 10" screenshots, one edit per language |
|
||||||
| `play products` | API | one-time products: regional prices from `convertRegionPrices` + your overrides, activate |
|
| `play products` | API | one-time products: regional prices from `convertRegionPrices` + your overrides, activate |
|
||||||
|
| `play subscriptions [--csv]` | API | subscriptions: listings + benefits, one auto-renewing base plan, regional prices, intro and extra offers, activate (plan first, asks) |
|
||||||
| `play data-safety` | API | Data safety form (CSV import); `--csv` writes the file |
|
| `play data-safety` | API | Data safety form (CSV import); `--csv` writes the file |
|
||||||
| `play release <aab>` | API | upload + tracks (`--internal completed --production draft`, `--production inProgress --fraction 0.05`), release notes |
|
| `play release <aab>` | API | upload + tracks (`--internal completed --production draft`, `--production inProgress --fraction 0.05`), release notes |
|
||||||
| `play rollout` | API | `--fraction x`, `--halt`, `--resume`, `--complete` (asks first, except halt) |
|
| `play rollout` | API | `--fraction x`, `--halt`, `--resume`, `--complete` (asks first, except halt) |
|
||||||
|
|
@ -196,9 +210,10 @@ run in the background with a log (`storebound shots render > .storebound/render.
|
||||||
| `apple listing --version x.y.z [--build N]` | API | version (manual release), the build with exactly that number, texts per locale |
|
| `apple listing --version x.y.z [--build N]` | API | version (manual release), the build with exactly that number, texts per locale |
|
||||||
| `apple screenshots [--variant b]` | API | 6.9" + 6.5" (+ 13" iPad with `apple.ipad`, + 6.3" with `apple.iphoneMedium`) per locale, MD5-idempotent |
|
| `apple screenshots [--variant b]` | API | 6.9" + 6.5" (+ 13" iPad with `apple.ipad`, + 6.3" with `apple.iphoneMedium`) per locale, MD5-idempotent |
|
||||||
| `apple previews [--poster 5]` | API | app preview videos per locale, checked first, MD5-idempotent, poster frame |
|
| `apple previews [--poster 5]` | API | app preview videos per locale, checked first, MD5-idempotent, poster frame |
|
||||||
| `apple iap` / `apple iap-review` | API | IAPs, localizations, price schedules, availability / review screenshots |
|
| `apple iap` / `apple iap-review` | API | IAPs (consumable, non-consumable, non-renewing), localizations, price schedules, availability / review screenshots |
|
||||||
|
| `apple subscriptions [--csv] [--codes]` | API | groups, subscriptions, levels, localizations, availability, equalized prices + overrides + CSV (scheduled changes), introductory and promotional offers, offer code campaigns, review screenshots (plan first, asks; custom codes only with `--codes`) |
|
||||||
| `apple appinfo` | API | categories, age rating, content rights, Free, territories |
|
| `apple appinfo` | API | categories, age rating, content rights, Free, territories |
|
||||||
| `apple review-details` | API | App Review contact + notes |
|
| `apple review-details` | API | App Review contact, demo account (from `.storebound/`, masked), notes (+ sign-in steps, where account deletion is) |
|
||||||
| `apple encryption` | API | export compliance answer from `apple.usesNonExemptEncryption` (never guessed) |
|
| `apple encryption` | API | export compliance answer from `apple.usesNonExemptEncryption` (never guessed) |
|
||||||
| `apple release --phased on\|pause\|resume\|complete`, `--manual-release` | API | phased release, release an approved version (resume / complete / release ask first) |
|
| `apple release --phased on\|pause\|resume\|complete`, `--manual-release` | API | phased release, release an approved version (resume / complete / release ask first) |
|
||||||
| `apple next-build` | API, read-only | next safe build number |
|
| `apple next-build` | API, read-only | next safe build number |
|
||||||
|
|
@ -244,13 +259,13 @@ run in the background with a log (`storebound shots render > .storebound/render.
|
||||||
|
|
||||||
| command | kind | what |
|
| command | kind | what |
|
||||||
|---|---|---|
|
|---|---|---|
|
||||||
| `shots capture [--source web\|ios-sim\|android-emu\|folder]` | local | raw frames from your running game |
|
| `shots capture [--source web\|ios-sim\|android-emu\|folder]` | local | raw frames from your running app or game |
|
||||||
| `shots fonts` | network | font subsets for your copy (Noto for CJK / Arabic / Cyrillic / Devanagari ...) |
|
| `shots fonts` | network | font subsets for your copy (Noto for CJK / Arabic / Cyrillic / Devanagari ...) |
|
||||||
| `shots render [--variant b \| --variants]` | local | every store size and language, feature graphic, contact sheet, overflow report |
|
| `shots render [--variant b \| --variants]` | local | every store size and language in the game or app style, feature graphic, contact sheet, overflow report |
|
||||||
| `shots jpeg` | local | JPEG q92 copies of the Play renders (about 4x faster uploads) |
|
| `shots jpeg` | local | JPEG q92 copies of the Play renders (about 4x faster uploads) |
|
||||||
| `shots check [--variants] [--json]` | local, read-only | store rules: sizes, alpha, format, bytes, counts, overflow, videos, folder frames |
|
| `shots check [--variants] [--json]` | local, read-only | store rules: sizes, alpha, format, bytes, counts, overflow, videos, folder frames |
|
||||||
| `shots gallery` | local | `<renders>/index.html` review page |
|
| `shots gallery` | local | `<renders>/index.html` review page |
|
||||||
| `shots record [--source ...]` | local | gameplay clips: web (Chromium screencast), simulator, emulator, folder |
|
| `shots record [--source ...]` | local | app or gameplay clips: web (Chromium screencast), simulator, emulator, folder |
|
||||||
| `shots video [--target iphone,ipad,youtube]` | local | app previews + promo video with captions, poster, checks |
|
| `shots video [--target iphone,ipad,youtube]` | local | app previews + promo video with captions, poster, checks |
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
@ -258,9 +273,13 @@ run in the background with a log (`storebound shots render > .storebound/render.
|
||||||
## Store art
|
## Store art
|
||||||
|
|
||||||
Screenshots and previews are one step of the journey, but the one that takes the longest by hand, so storebound
|
Screenshots and previews are one step of the journey, but the one that takes the longest by hand, so storebound
|
||||||
does a lot here. Everything below was made by storebound itself from [a tiny demo game](examples/demo-game) ("Prism
|
does a lot here. Two looks: `shots.style: 'game'` (sunburst, sparkles, badges) and `shots.style: 'app'` (calm
|
||||||
Puddle", fictional, procedural art): raw frames captured from the web build, captions in 4 languages, every store
|
gradient, a clean device frame, headline + subline). Everything below was made by storebound itself from two tiny
|
||||||
size, a review gallery and an app preview video. No store account needed to try it.
|
fictional demos: [a game](examples/demo-game) ("Prism Puddle", procedural art) and [an app](examples/demo-app)
|
||||||
|
("Tidy Lists", one static page with sample data): raw frames captured from the web build, captions in several
|
||||||
|
languages, every store size, a review gallery and an app preview video. No store account needed to try it.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
@ -279,9 +298,10 @@ size, a review gallery and an app preview video. No store account needed to try
|
||||||
|
|
||||||
### How it works
|
### How it works
|
||||||
|
|
||||||
1. **Frames.** Give your game a few switches (language, fixed seed, no ads, jump to a scene, freeze, autoplay) and
|
1. **Frames.** Give your app or game a few switches (language, demo data or a fixed seed, no ads, jump to a screen,
|
||||||
|
freeze, autoplay) and
|
||||||
let `shots capture` take the frames: Playwright for a web build, `simctl` for anything that runs in the iOS
|
let `shots capture` take the frames: Playwright for a web build, `simctl` for anything that runs in the iOS
|
||||||
Simulator (Unity, Godot, Flutter, native, Capacitor), `adb` for an Android emulator or device, or bring a folder of
|
Simulator (Unity, Godot, Flutter, React Native, native, Capacitor), `adb` for an Android emulator or device, or bring a folder of
|
||||||
your own frames. The status bar is cropped off and redrawn clean (9:41, full battery).
|
your own frames. The status bar is cropped off and redrawn clean (9:41, full battery).
|
||||||
2. **Copy.** Per language and scene: eyebrow, two-line title, subtitle, badges. Fonts are subset from Google Fonts to
|
2. **Copy.** Per language and scene: eyebrow, two-line title, subtitle, badges. Fonts are subset from Google Fonts to
|
||||||
exactly your characters, so Japanese, Chinese, Korean, Arabic (right to left) and Hindi just work.
|
exactly your characters, so Japanese, Chinese, Korean, Arabic (right to left) and Hindi just work.
|
||||||
|
|
@ -310,24 +330,27 @@ navigation.
|
||||||
| `play-first-release` | Google Play from zero to "In review" |
|
| `play-first-release` | Google Play from zero to "In review" |
|
||||||
| `appstore-first-release` | App Store from API key to "Waiting for review", incl. xcodebuild with the API key |
|
| `appstore-first-release` | App Store from API key to "Waiting for review", incl. xcodebuild with the API key |
|
||||||
| `testflight` | beta groups, testers from a CSV that never enters git, What to Test, Test Information, Beta App Review |
|
| `testflight` | beta groups, testers from a CSV that never enters git, What to Test, Test Information, Beta App Review |
|
||||||
| `store-iap-setup` | in-app products on both stores, prices and the price sheet CSV, testers, the first-IAP-with-version rule |
|
| `store-iap-setup` | in-app products on both stores (consumable, non-consumable, non-renewing), prices and the price sheet CSV, catalog diff, testers, the first-IAP-with-version rule |
|
||||||
|
| `store-subscriptions` | subscription groups, levels, base plans, prices, intro and promotional offers, offer codes, disclosure and Terms (3.1.2), first submission |
|
||||||
|
| `review-access` | demo account for reviewers (App Review fields, Play App access), never committed |
|
||||||
|
| `account-deletion` | Apple 5.1.1(v) in-app deletion, Play delete-account web page and Data safety |
|
||||||
| `aso-basics` | keyword field, subtitle, cross-localization, Play placement without stuffing |
|
| `aso-basics` | keyword field, subtitle, cross-localization, Play placement without stuffing |
|
||||||
| `store-declarations` | every questionnaire: Play Data safety (API) and App content (IARC, target audience, ads, advertising ID, app access, government / financial / health), Apple App Privacy labels and age rating |
|
| `store-declarations` | every questionnaire: Play Data safety (API) and App content (IARC, target audience, ads, advertising ID, app access, government / financial / health), Apple App Privacy labels and age rating |
|
||||||
| `export-compliance` | encryption answer, Info.plist key, declarations; never exempt by default |
|
| `export-compliance` | encryption answer, Info.plist key, declarations; never exempt by default |
|
||||||
| `privacy-policy` | one studio-wide policy page with a per-game services table |
|
| `privacy-policy` | one policy page for all your apps with a per-app services table (templates per profile) |
|
||||||
| `privacy-manifest` | PrivacyInfo.xcprivacy, required-reason APIs, SDK manifests (ITMS-91053 / 91061) |
|
| `privacy-manifest` | PrivacyInfo.xcprivacy, required-reason APIs, SDK manifests (ITMS-91053 / 91061) |
|
||||||
| `app-icons` | one artwork to every icon, adaptive / legacy launcher pitfalls |
|
| `app-icons` | one artwork to every icon, adaptive / legacy launcher pitfalls |
|
||||||
| `store-screenshots` | capture from any engine, copy, fonts, render, checks, gallery, variants, App Store product page tests, Play experiments, upload |
|
| `store-screenshots` | capture from any engine, copy, fonts, render, checks, gallery, variants, App Store product page tests, Play experiments, upload |
|
||||||
| `app-previews` | gameplay clips, App Store previews, Play promo video, checks, upload |
|
| `app-previews` | app or gameplay clips, App Store previews, Play promo video, checks, upload |
|
||||||
| `store-preflight` | run and read `check`, `check --aso`, `validate`, `privacy-manifest` before submitting |
|
| `store-preflight` | run and read `check`, `check --aso`, `validate`, `privacy-manifest` before submitting |
|
||||||
| `release-management` | updates: Apple phased + manual release, Play staged rollout, halt / pause (not a rollback), review wait |
|
| `release-management` | updates: Apple phased + manual release, Play staged rollout, halt / pause (not a rollback), review wait |
|
||||||
| `store-health` | crash / ANR vitals vs Play's bad behavior thresholds, App Store diagnostics, weekly report |
|
| `store-health` | crash / ANR vitals vs Play's bad behavior thresholds, App Store diagnostics, weekly report |
|
||||||
| `review-replies` | reply drafts, tone, no incentives, store limits, the owner approves and sends |
|
| `review-replies` | reply drafts, tone, no incentives, store limits, the owner approves and sends |
|
||||||
| `store-analytics` | App Store analytics reports, Play reports bucket, before / after listing changes |
|
| `store-analytics` | App Store analytics reports, Play reports bucket, before / after listing changes |
|
||||||
| `whats-new` | player-facing release notes from git, localized, within store limits |
|
| `whats-new` | player-facing release notes from git, localized, within store limits |
|
||||||
| `review-rejections` | triage a rejection (fix / clarify / push back / appeal), reply template, the guidelines games hit |
|
| `review-rejections` | triage a rejection (fix / clarify / push back / appeal), reply template, the guidelines apps and games hit |
|
||||||
| `ads-levelplay-checks` | LevelPlay / Unity Ads ids, adapters, app-ads.txt, SKAdNetwork, no-fill |
|
| `ads-mediation-checks` | AdMob, AppLovin MAX and LevelPlay: ids, debug tools, adapters, app-ads.txt, SKAdNetwork, no-fill (`ads-levelplay-checks` stays as a pointer) |
|
||||||
| `portfolio-originality` | Guideline 4.3 gate for studios shipping many similar games |
|
| `portfolio-originality` | Guideline 4.3 gate for developers shipping many similar apps or games |
|
||||||
|
|
||||||
## MCP server
|
## MCP server
|
||||||
|
|
||||||
|
|
@ -336,12 +359,13 @@ 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
|
`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.
|
(the server's working directory, or `STOREBOUND_PROJECT`) and returns the output.
|
||||||
|
|
||||||
- One tool per command. Read-only: `check`, `check_aso`, `validate`, `health`, `reviews_list`, `prices_diff`,
|
- One tool per command. Read-only: `check`, `check_aso`, `validate`, `catalog_diff`, `health`, `reviews_list`, `prices_diff`,
|
||||||
`analytics_compare`, `apple_status`, `apple_next_build`, `apple_testflight_status`, `apple_ppo_status`,
|
`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: `whats_new`, `icons`,
|
`play_status`, `play_next_version_code`, `privacy_manifest`, `shots_check`. Local writes: `whats_new`, `icons`,
|
||||||
`health_report`, `reviews_draft`, `prices_export`, `analytics_snapshot`, `shots_capture`, `shots_render`,
|
`health_report`, `reviews_draft`, `prices_export`, `analytics_snapshot`, `shots_capture`, `shots_render`,
|
||||||
`shots_gallery`, `shots_record`, `shots_video`. Store writes: `play_listing`, `play_images`, `play_products`,
|
`shots_gallery`, `shots_record`, `shots_video`. Store writes: `play_listing`, `play_images`, `play_products`,
|
||||||
`play_data_safety`, `play_release_testing`, `apple_bundle`, `apple_iap`, `apple_iap_review`, `apple_listing`,
|
`play_data_safety`, `play_subscriptions`, `play_release_testing`, `apple_bundle`, `apple_iap`, `apple_iap_review`,
|
||||||
|
`apple_subscriptions`, `apple_listing`,
|
||||||
`apple_screenshots`, `apple_previews`, `apple_appinfo`, `apple_review_details`, `apple_encryption`,
|
`apple_screenshots`, `apple_previews`, `apple_appinfo`, `apple_review_details`, `apple_encryption`,
|
||||||
`apple_phased_release`, `apple_testflight_groups`, `apple_testflight_what_to_test`, `apple_testflight_info`,
|
`apple_phased_release`, `apple_testflight_groups`, `apple_testflight_what_to_test`, `apple_testflight_info`,
|
||||||
`apple_testflight_distribute` (internal groups only), `apple_ppo_create`, `apple_ppo_upload`, `analytics_setup`.
|
`apple_testflight_distribute` (internal groups only), `apple_ppo_create`, `apple_ppo_upload`, `analytics_setup`.
|
||||||
|
|
@ -361,10 +385,11 @@ absolute path of `bin/storebound` plus `mcp`).
|
||||||
- **Nothing public or irreversible through an agent.** Submitting for review (App Review and Beta App Review),
|
- **Nothing public or irreversible through an agent.** Submitting for review (App Review and Beta App Review),
|
||||||
releasing a version, production releases, resuming or completing a rollout or phased release, canceling a
|
releasing a version, production releases, resuming or completing a rollout or phased release, canceling a
|
||||||
submission, deleting, inviting or removing testers, sending review replies, applying prices and starting or
|
submission, deleting, inviting or removing testers, sending review replies, applying prices and starting or
|
||||||
stopping a product page test are not MCP tools. They stay terminal commands that ask for confirmation, and the skills tell every agent to ask the owner
|
stopping a product page test and creating custom offer codes are not MCP tools. Subscription syncs through MCP only
|
||||||
|
create what is new; price changes of live subscriptions wait for a terminal run. They stay terminal commands that ask for confirmation, and the skills tell every agent to ask the owner
|
||||||
first ([docs/agents-core.md](docs/agents-core.md)).
|
first ([docs/agents-core.md](docs/agents-core.md)).
|
||||||
- **Personal data stays local.** Tester lists, reply drafts, health reports and analytics snapshots live in the
|
- **Personal data stays local.** Tester lists, the App Review demo account, reply drafts, health reports and analytics
|
||||||
gitignored `.storebound/`; tester emails are masked in every log line, and the config refuses a tester CSV path
|
snapshots live in the gitignored `.storebound/` (the demo account is masked in every log line); tester emails are masked in every log line, and the config refuses a tester CSV path
|
||||||
outside `.storebound/`.
|
outside `.storebound/`.
|
||||||
- **Idempotent writes.** Re-running a command converges (MD5 checks for screenshots and previews, one Play edit per
|
- **Idempotent writes.** Re-running a command converges (MD5 checks for screenshots and previews, one Play edit per
|
||||||
language), so a failed upload is fixed by running it again.
|
language), so a failed upload is fixed by running it again.
|
||||||
|
|
@ -373,6 +398,12 @@ absolute path of `bin/storebound` plus `mcp`).
|
||||||
|
|
||||||
## FAQ
|
## FAQ
|
||||||
|
|
||||||
|
**Is it only for games?** No. It started with my game, but every command is about store records, not engines or
|
||||||
|
genres. `init --profile app` and `--profile subscription-app` give you templates for a utility app with accounts and
|
||||||
|
for a subscription app (Data safety, App Privacy, declarations, listing and screenshot copy), the `app` screenshot
|
||||||
|
style, account deletion and demo account checks, and subscriptions on both stores. Game-only advice (IARC game
|
||||||
|
questions, gameplay footage, ad mediation) is marked as such in the skills.
|
||||||
|
|
||||||
**Do I need Claude (or any AI tool)?** No. The CLI is a normal command and the skills are Markdown checklists you can
|
**Do I need Claude (or any AI tool)?** No. The CLI is a normal command and the skills are Markdown checklists you can
|
||||||
read yourself. The AI integrations are optional adapters generated from the same files.
|
read yourself. The AI integrations are optional adapters generated from the same files.
|
||||||
|
|
||||||
|
|
@ -381,13 +412,14 @@ the config; the import replaces the form, so the config is the single truth), Ap
|
||||||
categories, price and availability, the export compliance answer and the App Review details. The stores have no
|
categories, price and availability, the export compliance answer and the App Review details. The stores have no
|
||||||
public API for Play's App content cards (IARC content rating, target audience, ads, advertising ID, app access,
|
public API for Play's App content cards (IARC content rating, target audience, ads, advertising ID, app access,
|
||||||
government / financial / health / news) or for Apple's App Privacy labels. For those, `init` gives you prepared
|
government / financial / health / news) or for Apple's App Privacy labels. For those, `init` gives you prepared
|
||||||
answers (`store/declarations.md`, `store/app-privacy.md`, written for a typical free-to-play game with ads and IAP),
|
answers (`store/declarations.md`, `store/app-privacy.md`, per profile: a utility app with an account, a subscription
|
||||||
|
app, or a free-to-play game with ads and IAP),
|
||||||
and the `store-declarations` skill has the exact clicks: an agent with browser tools can fill them in while you
|
and the `store-declarations` skill has the exact clicks: an agent with browser tools can fill them in while you
|
||||||
watch, or you copy them in yourself. Either way the answers are your statements to the stores: change what does not
|
watch, or you copy them in yourself. Either way the answers are your statements to the stores: change what does not
|
||||||
match your game, and the agent asks you whenever the code does not prove an answer. `validate` cannot see these
|
match your app, and the agent asks you whenever the code does not prove an answer. `validate` cannot see these
|
||||||
forms, so `store-preflight` lists them as a manual check.
|
forms, so `store-preflight` lists them as a manual check.
|
||||||
|
|
||||||
**My game is Unity / Godot / Flutter / native, not web.** Screenshots and clips come from the iOS Simulator
|
**My app or game is Unity / Godot / Flutter / React Native / native, not web.** Screenshots and clips come from the iOS Simulator
|
||||||
(`ios-sim`), an Android emulator or device (`android-emu`) or a folder you fill with any tool; only the rendering of
|
(`ios-sim`), an Android emulator or device (`android-emu`) or a folder you fill with any tool; only the rendering of
|
||||||
the store images uses a headless browser. The store commands do not care about the engine at all: they work on
|
the store images uses a headless browser. The store commands do not care about the engine at all: they work on
|
||||||
your AAB / build numbers and listing files.
|
your AAB / build numbers and listing files.
|
||||||
|
|
@ -414,9 +446,12 @@ are refused.
|
||||||
## Roadmap
|
## Roadmap
|
||||||
|
|
||||||
Wave 2 (TestFlight, vitals, review replies, price sheets, analytics, MCP 2026-07-28, Product Page Optimization) shipped
|
Wave 2 (TestFlight, vitals, review replies, price sheets, analytics, MCP 2026-07-28, Product Page Optimization) shipped
|
||||||
in 0.4.0. Next, roughly in this order:
|
in 0.4.0. 0.5.0 made storebound app-first (profiles, app screenshot style, account deletion, review access) and
|
||||||
|
brought the full in-app catalog: subscriptions on both stores with offers and offer codes, non-renewing products and
|
||||||
|
the cross-store `catalog diff`. Next, roughly in this order:
|
||||||
|
|
||||||
- Subscriptions (groups, levels, introductory offers) on both stores from the same product list.
|
- Offer codes for one-time products (`inAppPurchaseOfferCodes`), Play prepaid base plans for `non_renewing`, win-back
|
||||||
|
offers, and a `prices export` that includes subscriptions.
|
||||||
- App Store custom product pages and in-app events from the same copy and renders.
|
- App Store custom product pages and in-app events from the same copy and renders.
|
||||||
- Play store listing experiments and their results, as soon as Google offers an API.
|
- Play store listing experiments and their results, as soon as Google offers an API.
|
||||||
- App preview treatments and alternate icons in Product Page Optimization tests.
|
- App preview treatments and alternate icons in Product Page Optimization tests.
|
||||||
|
|
@ -452,7 +487,13 @@ Checked against each tool's own docs in October 2026:
|
||||||
warns), the TestFlight "What to Test" limit (4000 assumed), whether an analytics segment checksum covers the gzip
|
warns), the TestFlight "What to Test" limit (4000 assumed), whether an analytics segment checksum covers the gzip
|
||||||
file or its content (both are accepted), that a new App Store price schedule replaces the old one (Apple's example
|
file or its content (both are accepted), that a new App Store price schedule replaces the old one (Apple's example
|
||||||
implies it), stopping a Product Page Optimization test with `started: false`, and `APP_IPHONE_61` for the 6.3"
|
implies it), stopping a Product Page Optimization test with `started: false`, and `APP_IPHONE_61` for the 6.3"
|
||||||
iPhone set.
|
iPhone set. From 0.5.0 (request bodies follow Apple's and Google's published schemas, tested with fixtures, not
|
||||||
|
yet run against a live account): free promotional offers and offer codes sent with territories but no price point,
|
||||||
|
subscription prices and introductory offers created inline through `PATCH /v1/subscriptions/{id}`, Play
|
||||||
|
pay-as-you-go offers as a `relativeDiscount`, Play "developer determined" offers as offers without targeting plus an
|
||||||
|
offer tag, the ISO 8601 strings for Play billing periods (Google lists them only in words), the Play subscription
|
||||||
|
benefit length (40, from Play Console), the Data safety sign-up method ids (`PSL_ACM_*`, Google publishes none:
|
||||||
|
compare with a Console export) and the delete-account URL question id (use `dataSafety.extra`).
|
||||||
- **Apple IAP description**: 45 characters (App Store Connect Help, "In-app purchase information"); an older App Store
|
- **Apple IAP description**: 45 characters (App Store Connect Help, "In-app purchase information"); an older App Store
|
||||||
marketing page says 55. storebound checks 45.
|
marketing page says 55. storebound checks 45.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
// App-level App Store settings (idempotent), from apple.info in storebound.config.ts:
|
// App-level App Store settings (idempotent), from apple.info in storebound.config.ts:
|
||||||
// storebound apple appinfo [--dry]
|
// storebound apple appinfo [--dry]
|
||||||
// - categories (primary + up to two game subcategories, secondary)
|
// - categories (primary + up to two subcategories for games, secondary)
|
||||||
// - age rating declaration: every content question NONE / false unless overridden in apple.info.ageRating
|
// - age rating declaration: every content question NONE / false unless overridden in apple.info.ageRating
|
||||||
// - content rights declaration
|
// - content rights declaration
|
||||||
// - price Free (USA base) and availability in every territory + new ones (when apple.info.free !== false)
|
// - price Free (USA base) and availability in every territory + new ones (when apple.info.free !== false)
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
// Register the bundle id (Certificates, Identifiers & Profiles) through the API. Idempotent.
|
// Register the bundle id (Certificates, Identifiers & Profiles) through the API. Idempotent.
|
||||||
// storebound apple bundle [--name "My Game"] [--dry]
|
// storebound apple bundle [--name "My App"] [--dry]
|
||||||
// The App Store Connect app record itself can NOT be created through the API: do that in the web UI afterwards
|
// The App Store Connect app record itself can NOT be created through the API: do that in the web UI afterwards
|
||||||
// (Apps > + > New App, pick this bundle id), see the appstore-first-release skill.
|
// (Apps > + > New App, pick this bundle id), see the appstore-first-release skill.
|
||||||
import type { Ctx } from '../lib/ctx';
|
import type { Ctx } from '../lib/ctx';
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ import { ascClient, type J } from './asc';
|
||||||
export async function run(ctx: Ctx): Promise<void> {
|
export async function run(ctx: Ctx): Promise<void> {
|
||||||
const { config, root } = ctx.loaded;
|
const { config, root } = ctx.loaded;
|
||||||
const answer = config.apple?.usesNonExemptEncryption;
|
const answer = config.apple?.usesNonExemptEncryption;
|
||||||
if (answer === undefined) throw new Error('apple.usesNonExemptEncryption is not set in storebound.config.ts. Decide it with the export-compliance skill (false only if the game uses no encryption beyond the OS); storebound never guesses it.');
|
if (answer === undefined) throw new Error('apple.usesNonExemptEncryption is not set in storebound.config.ts. Decide it with the export-compliance skill (false only if the app uses no encryption beyond the OS); storebound never guesses it.');
|
||||||
const dry = ctx.args.has('dry');
|
const dry = ctx.args.has('dry');
|
||||||
const c = await ascClient(root, need(config.apple?.bundleId, 'apple.bundleId'), config.apple?.appId);
|
const c = await ascClient(root, need(config.apple?.bundleId, 'apple.bundleId'), config.apple?.appId);
|
||||||
const appId = await c.app();
|
const appId = await c.app();
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
// create: one test (v2 experiment, platform IOS) with one treatment per variant (named after the variant, at most 3)
|
// create: one test (v2 experiment, platform IOS) with one treatment per variant (named after the variant, at most 3)
|
||||||
// and a treatment localization per App Store locale of the config. upload: the variant renders
|
// and a treatment localization per App Store locale of the config. upload: the variant renders
|
||||||
// (<renders>/<variant>/<lang>/ios69 ... from `storebound shots render --variant b`) into each treatment localization's
|
// (<renders>/<variant>/<lang>/ios69 ... from `storebound shots render --variant b`) into each treatment localization's
|
||||||
// screenshot sets, MD5-idempotent like `apple screenshots`. start / stop change what players see (stop is final, a test
|
// screenshot sets, MD5-idempotent like `apple screenshots`. start / stop change what users see (stop is final, a test
|
||||||
// cannot be restarted) and ask first; they are not MCP tools. Google Play store listing experiments have no API: they
|
// cannot be restarted) and ask first; they are not MCP tools. Google Play store listing experiments have no API: they
|
||||||
// stay in Play Console (store-screenshots skill). Pure planners: cli/lib/ppo.ts.
|
// stay in Play Console (store-screenshots skill). Pure planners: cli/lib/ppo.ts.
|
||||||
import { existsSync } from 'node:fs';
|
import { existsSync } from 'node:fs';
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Crash and vitals health of the released game, read-only on both stores.
|
// Crash and vitals health of the released app or game, read-only on both stores.
|
||||||
// storebound health [--apple] [--play] [--days 7] [--json]
|
// storebound health [--apple] [--play] [--days 7] [--json]
|
||||||
// storebound health --weekly [--out .storebound/health] [--dry] also writes <date>.md (+ <date>.json for the next
|
// storebound health --weekly [--out .storebound/health] [--dry] also writes <date>.md (+ <date>.json for the next
|
||||||
// comparison); --dry prints the report instead of writing it
|
// comparison); --dry prints the report instead of writing it
|
||||||
|
|
|
||||||
19
cli/index.ts
19
cli/index.ts
|
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env bun
|
#!/usr/bin/env bun
|
||||||
// storebound: ship a mobile game to Google Play and the App Store from the terminal.
|
// storebound: ship a mobile app or game to Google Play and the App Store from the terminal.
|
||||||
// Run `storebound help` for the command list. Config: storebound.config.ts; credentials: env or .storebound/.
|
// Run `storebound help` for the command list. Config: storebound.config.ts; credentials: env or .storebound/.
|
||||||
import { parseArgs } from './lib/args';
|
import { parseArgs } from './lib/args';
|
||||||
import { loadConfig } from './lib/config';
|
import { loadConfig } from './lib/config';
|
||||||
|
|
@ -9,20 +9,22 @@ type Mod = { run(ctx: Ctx): Promise<void> };
|
||||||
type Plain = { run(args: ReturnType<typeof parseArgs>): Promise<void> };
|
type Plain = { run(args: ReturnType<typeof parseArgs>): Promise<void> };
|
||||||
/** Commands that work without a storebound.config.ts. */
|
/** Commands that work without a storebound.config.ts. */
|
||||||
const PLAIN: Record<string, [() => Promise<Plain>, string]> = {
|
const PLAIN: Record<string, [() => Promise<Plain>, string]> = {
|
||||||
'init': [() => import('./init'), 'copy the templates (config, listing, copy, privacy policy) into this project'],
|
'init': [() => import('./init'), 'copy the templates (config, listing, copy, declarations, privacy policy) into this project; --profile app|game|subscription-app (default app)'],
|
||||||
'install': [() => import('./install'), 'skills + MCP server for --agent claude|codex|cursor|copilot|windsurf|gemini|opencode'],
|
'install': [() => import('./install'), 'skills + MCP server for --agent claude|codex|cursor|copilot|windsurf|gemini|opencode'],
|
||||||
'mcp': [async () => ({ run: async () => (await import('./mcp')).serve() }), 'stdio MCP server wrapping these commands (for any MCP-capable AI tool)'],
|
'mcp': [async () => ({ run: async () => (await import('./mcp')).serve() }), 'stdio MCP server wrapping these commands (for any MCP-capable AI tool)'],
|
||||||
'privacy-manifest': [() => import('./privacy-manifest'), 'iOS PrivacyInfo.xcprivacy + required-reason API + SDK manifest scan (--ios <path>)'],
|
'privacy-manifest': [() => import('./privacy-manifest'), 'iOS PrivacyInfo.xcprivacy + required-reason API + SDK manifest scan (--ios <path>)'],
|
||||||
};
|
};
|
||||||
const COMMANDS: Record<string, [() => Promise<Mod>, string]> = {
|
const COMMANDS: Record<string, [() => Promise<Mod>, string]> = {
|
||||||
'check': [() => import('./check'), 'validate config, copy files, data safety answers and products (offline); --aso keyword audit'],
|
'check': [() => import('./check'), 'validate config, copy files, data safety answers, products, subscriptions and the app profile (offline); --aso keyword audit'],
|
||||||
'validate': [() => import('./validate'), 'read-only store readiness report with ordered blockers (--apple / --play), plus local renders checks (--no-local skips); exit 1 on blockers'],
|
'validate': [() => import('./validate'), 'read-only store readiness report with ordered blockers (--apple / --play), plus local renders checks (--no-local skips); exit 1 on blockers'],
|
||||||
'analytics': [() => import('./analytics'), 'setup (App Store report request) | snapshot (impressions, page views, installs, conversion -> .storebound/analytics) | compare (vs listing changes in git)'],
|
'analytics': [() => import('./analytics'), 'setup (App Store report request) | snapshot (impressions, page views, installs, conversion -> .storebound/analytics) | compare (vs listing changes in git)'],
|
||||||
'health': [() => import('./health'), 'crash / ANR vitals (Play) and diagnostics (App Store), read-only; --weekly writes a markdown report; exit 1 over a threshold'],
|
'health': [() => import('./health'), 'crash / ANR vitals (Play) and diagnostics (App Store), read-only; --weekly writes a markdown report; exit 1 over a threshold'],
|
||||||
|
'catalog': [() => import('./catalog'), 'diff: cross-store parity of products + subscriptions (missing / extra / mismatched, prices per region, offers); read-only, exit 1 on mismatches'],
|
||||||
'prices': [() => import('./prices'), 'export | import a CSV of product x store x region prices (diff first, asks before writing; Apple future-dated changes)'],
|
'prices': [() => import('./prices'), 'export | import a CSV of product x store x region prices (diff first, asks before writing; Apple future-dated changes)'],
|
||||||
'reviews': [() => import('./reviews'), 'list | draft (local reply drafts in .storebound/replies) | send (approved drafts only, asks first)'],
|
'reviews': [() => import('./reviews'), 'list | draft (local reply drafts in .storebound/replies) | send (approved drafts only, asks first)'],
|
||||||
'whats-new': [() => import('./whats-new'), 'draft player-facing release notes from git log into the listing files (--since <tag>)'],
|
'whats-new': [() => import('./whats-new'), 'draft user-facing release notes from git log into the listing files (--since <tag>)'],
|
||||||
'play products': [() => import('./play/products'), 'one-time products: create / update, regional prices, activate'],
|
'play products': [() => import('./play/products'), 'one-time products: create / update, regional prices, activate'],
|
||||||
|
'play subscriptions': [() => import('./play/subscriptions'), 'auto-renewable subscriptions: listings, base plan, regional prices, intro offer, activate (--csv prices sheet; asks first)'],
|
||||||
'play listing': [() => import('./play/listing'), 'app details + title / short / full description per language'],
|
'play listing': [() => import('./play/listing'), 'app details + title / short / full description per language'],
|
||||||
'play images': [() => import('./play/images'), 'icon, feature graphic, phone / 7" / 10" screenshots per language; --variant <id>'],
|
'play images': [() => import('./play/images'), 'icon, feature graphic, phone / 7" / 10" screenshots per language; --variant <id>'],
|
||||||
'play data-safety': [() => import('./play/data-safety'), 'Data safety form (CSV import through the API)'],
|
'play data-safety': [() => import('./play/data-safety'), 'Data safety form (CSV import through the API)'],
|
||||||
|
|
@ -32,11 +34,12 @@ const COMMANDS: Record<string, [() => Promise<Mod>, string]> = {
|
||||||
'play next-version-code': [() => import('./play/next-version-code'), 'next free versionCode (prints the number)'],
|
'play next-version-code': [() => import('./play/next-version-code'), 'next free versionCode (prints the number)'],
|
||||||
'apple bundle': [() => import('./apple/bundle'), 'register the bundle id; finds the app record'],
|
'apple bundle': [() => import('./apple/bundle'), 'register the bundle id; finds the app record'],
|
||||||
'apple iap': [() => import('./apple/iap'), 'in-app purchases, localizations, price schedules, availability'],
|
'apple iap': [() => import('./apple/iap'), 'in-app purchases, localizations, price schedules, availability'],
|
||||||
|
'apple subscriptions': [() => import('./apple/subscriptions'), 'subscription groups, subscriptions, localizations, prices (equalized + overrides + --csv), intro offers, availability, review screenshot (asks first)'],
|
||||||
'apple iap-review': [() => import('./apple/iap-review'), 'IAP review screenshots + product states'],
|
'apple iap-review': [() => import('./apple/iap-review'), 'IAP review screenshots + product states'],
|
||||||
'apple listing': [() => import('./apple/listing'), 'version, build, name / subtitle / description / keywords per locale'],
|
'apple listing': [() => import('./apple/listing'), 'version, build, name / subtitle / description / keywords per locale'],
|
||||||
'apple screenshots': [() => import('./apple/screenshots'), '6.9" + 6.5" (+ 13" iPad) screenshots per locale; --variant <id>'],
|
'apple screenshots': [() => import('./apple/screenshots'), '6.9" + 6.5" (+ 13" iPad) screenshots per locale; --variant <id>'],
|
||||||
'apple appinfo': [() => import('./apple/appinfo'), 'categories, age rating, content rights, Free price, territories'],
|
'apple appinfo': [() => import('./apple/appinfo'), 'categories, age rating, content rights, Free price, territories'],
|
||||||
'apple review-details': [() => import('./apple/review-details'), 'App Review contact + notes'],
|
'apple review-details': [() => import('./apple/review-details'), 'App Review contact, demo account (from .storebound/, masked) + notes'],
|
||||||
'apple status': [() => import('./apple/status'), 'versions, builds, IAPs, review submissions (--wait-review, --cancel-submission <id>)'],
|
'apple status': [() => import('./apple/status'), 'versions, builds, IAPs, review submissions (--wait-review, --cancel-submission <id>)'],
|
||||||
'apple previews': [() => import('./apple/previews'), 'app preview videos per locale (MD5-idempotent, poster frame time code); --dry'],
|
'apple previews': [() => import('./apple/previews'), 'app preview videos per locale (MD5-idempotent, poster frame time code); --dry'],
|
||||||
'apple release': [() => import('./apple/release'), 'phased release on|pause|resume|complete, --manual-release (asks first)'],
|
'apple release': [() => import('./apple/release'), 'phased release on|pause|resume|complete, --manual-release (asks first)'],
|
||||||
|
|
@ -50,13 +53,13 @@ const COMMANDS: Record<string, [() => Promise<Mod>, string]> = {
|
||||||
'shots render': [() => import('./shots/render'), 'store screenshots + feature graphic in every size and language'],
|
'shots render': [() => import('./shots/render'), 'store screenshots + feature graphic in every size and language'],
|
||||||
'shots jpeg': [() => import('./shots/jpeg'), 'JPEG q92 copies of the Play renders (4x faster uploads)'],
|
'shots jpeg': [() => import('./shots/jpeg'), 'JPEG q92 copies of the Play renders (4x faster uploads)'],
|
||||||
'shots check': [() => import('./shots/check'), 'local store checks of the renders (size, alpha, counts, overflow) and folder frames; --variants, --json'],
|
'shots check': [() => import('./shots/check'), 'local store checks of the renders (size, alpha, counts, overflow) and folder frames; --variants, --json'],
|
||||||
'shots record': [() => import('./shots/record'), 'gameplay clips for app previews: --source web (playwright video) | ios-sim (simctl recordVideo) | android-emu (screenrecord) | folder; --dry'],
|
'shots record': [() => import('./shots/record'), 'app or gameplay clips for app previews: --source web (playwright video) | ios-sim (simctl recordVideo) | android-emu (screenrecord) | folder; --dry'],
|
||||||
'shots video': [() => import('./shots/video'), 'App Store app previews (886x1920, 1200x1600) + YouTube promo video from the clips, captions, poster, store checks; --dry'],
|
'shots video': [() => import('./shots/video'), 'App Store app previews (886x1920, 1200x1600) + YouTube promo video from the clips, captions, poster, store checks; --dry'],
|
||||||
'shots gallery': [() => import('./shots/gallery'), 'review page <renders>/index.html: every language, size, scene and variant, issues highlighted'],
|
'shots gallery': [() => import('./shots/gallery'), 'review page <renders>/index.html: every language, size, scene and variant, issues highlighted'],
|
||||||
};
|
};
|
||||||
|
|
||||||
function help(): void {
|
function help(): void {
|
||||||
console.log(`storebound · ship mobile games to Google Play and the App Store
|
console.log(`storebound · take mobile apps and games from nothing to Submit for review on Google Play and the App Store
|
||||||
|
|
||||||
usage: storebound <command> [options]
|
usage: storebound <command> [options]
|
||||||
|
|
||||||
|
|
@ -64,7 +67,7 @@ ${Object.entries(PLAIN).map(([k, [, d]]) => ` ${k.padEnd(25)} ${d}`).join('\n')
|
||||||
${Object.entries(COMMANDS).map(([k, [, d]]) => ` ${k.padEnd(25)} ${d}`).join('\n')}
|
${Object.entries(COMMANDS).map(([k, [, d]]) => ` ${k.padEnd(25)} ${d}`).join('\n')}
|
||||||
|
|
||||||
common options: --config <path> --dry (no writes) --only <ids> --yes (skip confirmations)
|
common options: --config <path> --dry (no writes) --only <ids> --yes (skip confirmations)
|
||||||
credentials: PLAY_SERVICE_ACCOUNT, ASC_KEY_ID, ASC_ISSUER_ID, ASC_P8 (env or .storebound/credentials.json)
|
credentials: PLAY_SERVICE_ACCOUNT, ASC_KEY_ID, ASC_ISSUER_ID, ASC_P8, REVIEW_DEMO_USER / REVIEW_DEMO_PASSWORD (env or .storebound/credentials.json)
|
||||||
docs: README.md and the skills/ folder of the toolchain`);
|
docs: README.md and the skills/ folder of the toolchain`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Put the storebound skills and MCP server into a game project for one or more AI coding tools.
|
// Put the storebound skills and MCP server into an app or game project for one or more AI coding tools.
|
||||||
// storebound install --agent claude|codex|cursor|copilot|windsurf|gemini|opencode[,...] [--dir .] [--dry]
|
// storebound install --agent claude|codex|cursor|copilot|windsurf|gemini|opencode[,...] [--dir .] [--dry]
|
||||||
// [--no-skills] [--no-mcp] [--command "bunx storebound"]
|
// [--no-skills] [--no-mcp] [--command "bunx storebound"]
|
||||||
// Skills are copied to the tool's skills folder (our own skill folders are updated, nothing else is touched). The MCP
|
// Skills are copied to the tool's skills folder (our own skill folders are updated, nothing else is touched). The MCP
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Crash and vitals health of a released game, as pure parts: request builders, response parsers, threshold findings
|
// Crash and vitals health of a released app or game, as pure parts: request builders, response parsers, threshold findings
|
||||||
// and the report. `storebound health` and `storebound validate` collect the data (read-only) and use these.
|
// and the report. `storebound health` and `storebound validate` collect the data (read-only) and use these.
|
||||||
//
|
//
|
||||||
// Google Play Developer Reporting API v1beta1 (scope playdeveloperreporting; the service account needs "View app
|
// Google Play Developer Reporting API v1beta1 (scope playdeveloperreporting; the service account needs "View app
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ export const REQUIRED_REASON_APIS: Record<string, { symbols: RegExp; reasons: st
|
||||||
NSPrivacyAccessedAPICategoryUserDefaults: {
|
NSPrivacyAccessedAPICategoryUserDefaults: {
|
||||||
symbols: /\b(NSUserDefaults|UserDefaults)\b/,
|
symbols: /\b(NSUserDefaults|UserDefaults)\b/,
|
||||||
reasons: ['CA92.1', '1C8F.1', 'C56D.1', 'AC6B.1'],
|
reasons: ['CA92.1', '1C8F.1', 'C56D.1', 'AC6B.1'],
|
||||||
note: 'CA92.1 = read / write data only this app uses (typical for game saves and settings)',
|
note: 'CA92.1 = read / write data only this app uses (typical for app data, game saves and settings)',
|
||||||
},
|
},
|
||||||
NSPrivacyAccessedAPICategoryFileTimestamp: {
|
NSPrivacyAccessedAPICategoryFileTimestamp: {
|
||||||
symbols: /\b(creationDate|modificationDate|fileModificationDate|contentModificationDateKey|creationDateKey|NSFileCreationDate|NSFileModificationDate|getattrlist|fstatat|lstat)\b/,
|
symbols: /\b(creationDate|modificationDate|fileModificationDate|contentModificationDateKey|creationDateKey|NSFileCreationDate|NSFileModificationDate|getattrlist|fstatat|lstat)\b/,
|
||||||
|
|
@ -28,7 +28,7 @@ export const REQUIRED_REASON_APIS: Record<string, { symbols: RegExp; reasons: st
|
||||||
NSPrivacyAccessedAPICategoryActiveKeyboards: {
|
NSPrivacyAccessedAPICategoryActiveKeyboards: {
|
||||||
symbols: /\bactiveInputModes\b/,
|
symbols: /\bactiveInputModes\b/,
|
||||||
reasons: ['3EC4.1', '54BD.1'],
|
reasons: ['3EC4.1', '54BD.1'],
|
||||||
note: 'rare in games',
|
note: 'rare in apps and games',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -72,7 +72,7 @@ export function filterReviews(rs: Review[], o: { since?: string; unanswered?: bo
|
||||||
/** File name of a draft: <store>-<review id>.md with unsafe characters replaced. */
|
/** File name of a draft: <store>-<review id>.md with unsafe characters replaced. */
|
||||||
export const draftName = (r: Pick<Review, 'store' | 'id'>): string => `${r.store}-${r.id.replace(/[^A-Za-z0-9._-]/g, '_').slice(0, 120)}.md`;
|
export const draftName = (r: Pick<Review, 'store' | 'id'>): string => `${r.store}-${r.id.replace(/[^A-Za-z0-9._-]/g, '_').slice(0, 120)}.md`;
|
||||||
|
|
||||||
export const REPLY_PLACEHOLDER = '<!-- Write the reply below. Plain text, the player\'s language. -->';
|
export const REPLY_PLACEHOLDER = '<!-- Write the reply below. Plain text, the reviewer\'s language. -->';
|
||||||
|
|
||||||
/** A new draft: front matter (approved: false), the review as a quote, an empty "## Reply" section. */
|
/** A new draft: front matter (approved: false), the review as a quote, an empty "## Reply" section. */
|
||||||
export function draftMarkdown(r: Review): string {
|
export function draftMarkdown(r: Review): string {
|
||||||
|
|
@ -125,7 +125,7 @@ export function checkReply(reply: string, store: ReviewStore): ReplyIssue[] {
|
||||||
if (store === 'play' && n > REPLY_LIMITS.play) e.push({ level: 'error', msg: `${n} > ${REPLY_LIMITS.play} characters (Google Play limit)` });
|
if (store === 'play' && n > REPLY_LIMITS.play) e.push({ level: 'error', msg: `${n} > ${REPLY_LIMITS.play} characters (Google Play limit)` });
|
||||||
if (store === 'apple' && n > REPLY_LIMITS.apple) e.push({ level: 'warn', msg: `${n} characters: App Store Connect is reported to stop at ${REPLY_LIMITS.apple}` });
|
if (store === 'apple' && n > REPLY_LIMITS.apple) e.push({ level: 'warn', msg: `${n} characters: App Store Connect is reported to stop at ${REPLY_LIMITS.apple}` });
|
||||||
if (INCENTIVE.some(re => re.test(text))) e.push({ level: 'error', msg: 'offers something for a rating or asks to change / give stars: not allowed (no incentives, no rating manipulation)' });
|
if (INCENTIVE.some(re => re.test(text))) e.push({ level: 'error', msg: 'offers something for a rating or asks to change / give stars: not allowed (no incentives, no rating manipulation)' });
|
||||||
if (/[^@\s]+@[^@\s]+\.[a-z]{2,}/i.test(text)) e.push({ level: 'warn', msg: 'contains an email address: only your public support address, never a player\'s' });
|
if (/[^@\s]+@[^@\s]+\.[a-z]{2,}/i.test(text)) e.push({ level: 'warn', msg: 'contains an email address: only your public support address, never a user\'s' });
|
||||||
if (/(\+?\d[\d\s().-]{7,}\d)/.test(text)) e.push({ level: 'warn', msg: 'contains a phone-like number: no personal data in public replies' });
|
if (/(\+?\d[\d\s().-]{7,}\d)/.test(text)) e.push({ level: 'warn', msg: 'contains a phone-like number: no personal data in public replies' });
|
||||||
if (/https?:\/\//i.test(text)) e.push({ level: 'warn', msg: 'contains a link: support pages only, no marketing' });
|
if (/https?:\/\//i.test(text)) e.push({ level: 'warn', msg: 'contains a link: support pages only, no marketing' });
|
||||||
if (/[A-Z]{6,}/.test(text) || /!{3,}/.test(text)) e.push({ level: 'warn', msg: 'shouting (caps / !!!): keep it calm' });
|
if (/[A-Z]{6,}/.test(text) || /!{3,}/.test(text)) e.push({ level: 'warn', msg: 'shouting (caps / !!!): keep it calm' });
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
// Player-facing release notes from commit subjects, and writing them into the two listing files. Pure.
|
// User-facing release notes from commit subjects, and writing them into the two listing files. Pure.
|
||||||
// The draft is a starting point for a human: commit messages are written for developers, notes are for players.
|
// The draft is a starting point for a human: commit messages are written for developers, notes are for users.
|
||||||
import { len, PLAY_LIMITS } from './copy';
|
import { len, PLAY_LIMITS } from './copy';
|
||||||
|
|
||||||
export const NOTES_LIMITS = { play: PLAY_LIMITS.whatsNew, apple: 4000 } as const;
|
export const NOTES_LIMITS = { play: PLAY_LIMITS.whatsNew, apple: 4000 } as const;
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ export const TOOLS: ToolDef[] = [
|
||||||
props: { storefront: { type: 'string', description: 'App Store storefront for the cross-locale hint', default: 'US' } },
|
props: { storefront: { type: 'string', description: 'App Store storefront for the cross-locale hint', default: 'US' } },
|
||||||
args: i => ['--aso', ...opt('storefront', i.storefront)] },
|
args: i => ['--aso', ...opt('storefront', i.storefront)] },
|
||||||
{ name: 'validate', title: 'Store readiness report', command: ['validate'], write: false, network: true,
|
{ name: 'validate', title: 'Store readiness report', command: ['validate'], write: false, network: true,
|
||||||
description: 'Read-only readiness report for App Store Connect and/or Google Play with ordered blockers (build, encryption, metadata, screenshots, review details, age rating, prices, IAPs, privacy URL, app-ads.txt, tracks, products).',
|
description: 'Read-only readiness report for App Store Connect and/or Google Play with ordered blockers (build, encryption, metadata, screenshots, review details and demo account, age rating, prices, IAPs, subscriptions, privacy, delete-account and terms URLs, app-ads.txt, tracks, products, base plans).',
|
||||||
props: { store: { type: 'string', enum: ['both', 'apple', 'play'], default: 'both' } },
|
props: { store: { type: 'string', enum: ['both', 'apple', 'play'], default: 'both' } },
|
||||||
args: i => (i.store === 'apple' ? ['--apple'] : i.store === 'play' ? ['--play'] : []) },
|
args: i => (i.store === 'apple' ? ['--apple'] : i.store === 'play' ? ['--play'] : []) },
|
||||||
{ name: 'health', title: 'Crash and vitals health', command: ['health'], write: false, network: true,
|
{ name: 'health', title: 'Crash and vitals health', command: ['health'], write: false, network: true,
|
||||||
|
|
@ -60,6 +60,10 @@ export const TOOLS: ToolDef[] = [
|
||||||
props: { store: { type: 'string', enum: ['apple', 'play'], description: 'Default: both' }, days: { type: 'integer', minimum: 1, maximum: 365, default: 14 },
|
props: { store: { type: 'string', enum: ['apple', 'play'], description: 'Default: both' }, days: { type: 'integer', minimum: 1, maximum: 365, default: 14 },
|
||||||
rating: { type: 'string', pattern: '^[1-5](,[1-5])*$', description: 'Only these star ratings, e.g. 1,2,3' } },
|
rating: { type: 'string', pattern: '^[1-5](,[1-5])*$', description: 'Only these star ratings, e.g. 1,2,3' } },
|
||||||
args: i => [...opt('store', i.store), ...opt('days', i.days), ...opt('rating', i.rating)] },
|
args: i => [...opt('store', i.store), ...opt('days', i.days), ...opt('rating', i.rating)] },
|
||||||
|
{ name: 'catalog_diff', title: 'Cross-store catalog parity', command: ['catalog', 'diff'], write: false, network: true,
|
||||||
|
description: 'Read-only parity report: the products and subscriptions of the config against App Store Connect and Google Play (missing / extra items, type, billing period, level, US and override prices, localizations, offers) plus regions where the two stores price the same product differently (same currency, over the threshold).',
|
||||||
|
props: { store: { type: 'string', enum: ['apple', 'play'] }, threshold: { type: 'integer', minimum: 0, maximum: 100, default: 10, description: 'Percent difference between the stores to report' }, json: { type: 'boolean', default: false } },
|
||||||
|
args: i => [...opt('store', i.store), ...opt('threshold', i.threshold), ...flag('json', i.json)] },
|
||||||
{ name: 'prices_diff', title: 'Price sheet diff', command: ['prices', 'import'], write: false, network: true,
|
{ name: 'prices_diff', title: 'Price sheet diff', command: ['prices', 'import'], write: false, network: true,
|
||||||
description: 'Read-only: compare the prices CSV (product, store, region, currency, price, start_date) with the current App Store and Google Play prices and print the diff table. Applying it is an owner-only terminal command (storebound prices import, asks first).',
|
description: 'Read-only: compare the prices CSV (product, store, region, currency, price, start_date) with the current App Store and Google Play prices and print the diff table. Applying it is an owner-only terminal command (storebound prices import, asks first).',
|
||||||
props: { csv: { type: 'string', description: 'CSV path (default prices.csv in the config, else store/prices.csv)' }, store: { type: 'string', enum: ['apple', 'play'] }, only, all: { type: 'boolean', default: false, description: 'Also list unchanged rows' } },
|
props: { csv: { type: 'string', description: 'CSV path (default prices.csv in the config, else store/prices.csv)' }, store: { type: 'string', enum: ['apple', 'play'] }, only, all: { type: 'boolean', default: false, description: 'Also list unchanged rows' } },
|
||||||
|
|
@ -96,7 +100,7 @@ export const TOOLS: ToolDef[] = [
|
||||||
required: ['ios'], args: i => [...opt('ios', i.ios), ...opt('sdk-dirs', i.sdk_dirs)] },
|
required: ['ios'], args: i => [...opt('ios', i.ios), ...opt('sdk-dirs', i.sdk_dirs)] },
|
||||||
|
|
||||||
{ name: 'whats_new', title: 'Draft release notes', command: ['whats-new'], write: true, network: false, idempotent: true,
|
{ name: 'whats_new', title: 'Draft release notes', command: ['whats-new'], write: true, network: false, idempotent: true,
|
||||||
description: 'Draft player-facing release notes from the git log since a tag; with dry_run false writes the draft into the listing files (local text only, nothing is sent to a store).',
|
description: 'Draft user-facing release notes from the git log since a tag; with dry_run false writes the draft into the listing files (local text only, nothing is sent to a store).',
|
||||||
props: { since: { type: 'string', description: 'Git tag or ref (default: latest tag)' }, lang: { type: 'string' }, all_languages: { type: 'boolean', default: false } },
|
props: { since: { type: 'string', description: 'Git tag or ref (default: latest tag)' }, lang: { type: 'string' }, all_languages: { type: 'boolean', default: false } },
|
||||||
args: i => [...opt('since', i.since), ...opt('lang', i.lang), ...flag('all', i.all_languages)] },
|
args: i => [...opt('since', i.since), ...opt('lang', i.lang), ...flag('all', i.all_languages)] },
|
||||||
{ name: 'play_listing', title: 'Push Play listing text', command: ['play', 'listing'], write: true, network: true, idempotent: true,
|
{ name: 'play_listing', title: 'Push Play listing text', command: ['play', 'listing'], write: true, network: true, idempotent: true,
|
||||||
|
|
@ -108,6 +112,10 @@ export const TOOLS: ToolDef[] = [
|
||||||
{ name: 'play_products', title: 'Sync Play one-time products', command: ['play', 'products'], write: true, network: true, idempotent: true,
|
{ name: 'play_products', title: 'Sync Play one-time products', command: ['play', 'products'], write: true, network: true, idempotent: true,
|
||||||
description: 'Create / update one-time products with regional prices and activate their purchase option.',
|
description: 'Create / update one-time products with regional prices and activate their purchase option.',
|
||||||
props: { only }, args: i => opt('only', i.only) },
|
props: { only }, args: i => opt('only', i.only) },
|
||||||
|
{ name: 'play_subscriptions', title: 'Sync Play subscriptions', command: ['play', 'subscriptions'], write: true, network: true, idempotent: true,
|
||||||
|
description: 'Auto-renewable subscriptions on Google Play from the config: listings per language (title, description, benefits), one auto-renewing base plan with regional prices (convertRegionPrices + overrides + optional prices CSV), activation, and the introductory offer for new subscribers. dry_run prints the plan. Without a terminal it creates only what is new; price changes of existing base plans are an owner terminal run.',
|
||||||
|
props: { only, csv: { type: 'string', description: 'Prices CSV with rows for subscription ids' } },
|
||||||
|
args: i => [...opt('only', i.only), ...opt('csv', i.csv)] },
|
||||||
{ name: 'play_data_safety', title: 'Push Play Data safety', command: ['play', 'data-safety'], write: true, destructive: true, network: true, idempotent: true,
|
{ name: 'play_data_safety', title: 'Push Play Data safety', command: ['play', 'data-safety'], write: true, destructive: true, network: true, idempotent: true,
|
||||||
description: 'Replace the whole Play Data safety form with the answers from the config (CSV import). dry_run prints the CSV.' },
|
description: 'Replace the whole Play Data safety form with the answers from the config (CSV import). dry_run prints the CSV.' },
|
||||||
{ name: 'play_release_testing', title: 'Release to a Play testing track', command: ['play', 'release'], write: true, network: true,
|
{ name: 'play_release_testing', title: 'Release to a Play testing track', command: ['play', 'release'], write: true, network: true,
|
||||||
|
|
@ -120,6 +128,10 @@ export const TOOLS: ToolDef[] = [
|
||||||
{ name: 'apple_iap', title: 'Sync App Store IAPs', command: ['apple', 'iap'], write: true, network: true, idempotent: true,
|
{ name: 'apple_iap', title: 'Sync App Store IAPs', command: ['apple', 'iap'], write: true, network: true, idempotent: true,
|
||||||
description: 'Create missing in-app purchases, localizations, price schedules and availability. Never submits.',
|
description: 'Create missing in-app purchases, localizations, price schedules and availability. Never submits.',
|
||||||
props: { only }, args: i => opt('only', i.only) },
|
props: { only }, args: i => opt('only', i.only) },
|
||||||
|
{ name: 'apple_subscriptions', title: 'Sync App Store subscriptions', command: ['apple', 'subscriptions'], write: true, network: true, idempotent: true,
|
||||||
|
description: 'Auto-renewable subscriptions from the config: subscription groups and display names, subscriptions (period, level), localizations, availability, prices (USA price point + equalizations + overrides, optional prices CSV), introductory offers, review screenshot. dry_run prints the plan. Without a terminal it creates only what is new; price changes of existing subscriptions are an owner terminal run. Never submits.',
|
||||||
|
props: { only, csv: { type: 'string', description: 'Prices CSV (product, store, region, currency, price, start_date) with rows for subscription ids' } },
|
||||||
|
args: i => [...opt('only', i.only), ...opt('csv', i.csv)] },
|
||||||
{ name: 'apple_iap_review', title: 'IAP review screenshots', command: ['apple', 'iap-review'], write: true, destructive: true, network: true, idempotent: true,
|
{ name: 'apple_iap_review', title: 'IAP review screenshots', command: ['apple', 'iap-review'], write: true, destructive: true, network: true, idempotent: true,
|
||||||
description: 'Upload (replace when changed) the App Review screenshot of every in-app purchase. Never submits.' },
|
description: 'Upload (replace when changed) the App Review screenshot of every in-app purchase. Never submits.' },
|
||||||
{ name: 'apple_listing', title: 'Push App Store version + text', command: ['apple', 'listing'], write: true, network: true, idempotent: true,
|
{ name: 'apple_listing', title: 'Push App Store version + text', command: ['apple', 'listing'], write: true, network: true, idempotent: true,
|
||||||
|
|
@ -132,7 +144,7 @@ export const TOOLS: ToolDef[] = [
|
||||||
{ name: 'apple_appinfo', title: 'App Store app info', command: ['apple', 'appinfo'], write: true, network: true, idempotent: true,
|
{ name: 'apple_appinfo', title: 'App Store app info', command: ['apple', 'appinfo'], write: true, network: true, idempotent: true,
|
||||||
description: 'Categories, age rating declaration, content rights, Free price and availability (when missing).' },
|
description: 'Categories, age rating declaration, content rights, Free price and availability (when missing).' },
|
||||||
{ name: 'apple_review_details', title: 'App Review information', command: ['apple', 'review-details'], write: true, network: true, idempotent: true,
|
{ name: 'apple_review_details', title: 'App Review information', command: ['apple', 'review-details'], write: true, network: true, idempotent: true,
|
||||||
description: 'App Review contact (from .storebound/credentials.json) and review notes from the config.' },
|
description: 'App Review contact and, when reviewAccess.signInRequired, the demo account (both from .storebound/credentials.json or env, masked in the output), plus the review notes (apple.info.reviewNotes, sign-in instructions, where account deletion is).' },
|
||||||
{ name: 'apple_encryption', title: 'Export compliance answer', command: ['apple', 'encryption'], write: true, network: true, idempotent: true,
|
{ name: 'apple_encryption', title: 'Export compliance answer', command: ['apple', 'encryption'], write: true, network: true, idempotent: true,
|
||||||
description: 'Answer export compliance for builds from apple.usesNonExemptEncryption in the config (never guesses).',
|
description: 'Answer export compliance for builds from apple.usesNonExemptEncryption in the config (never guesses).',
|
||||||
props: { build: { type: 'string', description: 'Build number (default: every build without an answer)' } }, args: i => opt('build', i.build) },
|
props: { build: { type: 'string', description: 'Build number (default: every build without an answer)' } }, args: i => opt('build', i.build) },
|
||||||
|
|
@ -141,7 +153,7 @@ export const TOOLS: ToolDef[] = [
|
||||||
props: { action: { type: 'string', enum: ['on', 'pause'] }, version: { type: 'string' } }, required: ['action'],
|
props: { action: { type: 'string', enum: ['on', 'pause'] }, version: { type: 'string' } }, required: ['action'],
|
||||||
args: i => ['--phased', String(i.action), ...opt('version', i.version)] },
|
args: i => ['--phased', String(i.action), ...opt('version', i.version)] },
|
||||||
{ name: 'shots_capture', title: 'Capture raw frames', command: ['shots', 'capture'], write: true, network: false, idempotent: true,
|
{ name: 'shots_capture', title: 'Capture raw frames', command: ['shots', 'capture'], write: true, network: false, idempotent: true,
|
||||||
description: 'Raw game frames per language into shots.frames from a web build (Playwright), the iOS Simulator (simctl), an Android emulator / device (adb) or a folder check. Local files only; a simulator it boots is shut down again, an emulator is never booted. dry_run lists the plan and the simctl / adb commands.',
|
description: 'Raw app or game frames per language into shots.frames from a web build (Playwright), the iOS Simulator (simctl), an Android emulator / device (adb) or a folder check. Local files only; a simulator it boots is shut down again, an emulator is never booted. dry_run lists the plan and the simctl / adb commands.',
|
||||||
props: { lang, only: { type: 'string', description: 'Comma-separated shot names' }, device: { type: 'string', enum: ['phone', 'tablet'] }, source },
|
props: { lang, only: { type: 'string', description: 'Comma-separated shot names' }, device: { type: 'string', enum: ['phone', 'tablet'] }, source },
|
||||||
args: i => [...opt('lang', i.lang), ...opt('only', i.only), ...opt('device', i.device), ...opt('source', i.source)] },
|
args: i => [...opt('lang', i.lang), ...opt('only', i.only), ...opt('device', i.device), ...opt('source', i.source)] },
|
||||||
{ name: 'shots_render', title: 'Render store screenshots', command: ['shots', 'render'], write: true, network: false, idempotent: true,
|
{ name: 'shots_render', title: 'Render store screenshots', command: ['shots', 'render'], write: true, network: false, idempotent: true,
|
||||||
|
|
@ -152,8 +164,8 @@ export const TOOLS: ToolDef[] = [
|
||||||
{ name: 'shots_gallery', title: 'Review gallery', command: ['shots', 'gallery'], write: true, network: false, idempotent: true,
|
{ name: 'shots_gallery', title: 'Review gallery', command: ['shots', 'gallery'], write: true, network: false, idempotent: true,
|
||||||
description: 'Write <renders>/index.html: one self-contained page with every language, size, scene, variant and app preview, store check issues highlighted. Open it in a browser to review before uploading.',
|
description: 'Write <renders>/index.html: one self-contained page with every language, size, scene, variant and app preview, store check issues highlighted. Open it in a browser to review before uploading.',
|
||||||
props: { lang }, args: i => opt('lang', i.lang) },
|
props: { lang }, args: i => opt('lang', i.lang) },
|
||||||
{ name: 'shots_record', title: 'Record gameplay clips', command: ['shots', 'record'], write: true, network: false, idempotent: true,
|
{ name: 'shots_record', title: 'Record app or gameplay clips', command: ['shots', 'record'], write: true, network: false, idempotent: true,
|
||||||
description: 'Gameplay clips for app previews from shots.video.record: web build (Chromium screencast), iOS Simulator (simctl recordVideo), Android emulator / device (screenrecord, never booted) or a folder listing. Local files only.',
|
description: 'App or gameplay clips for app previews from shots.video.record: web build (Chromium screencast), iOS Simulator (simctl recordVideo), Android emulator / device (screenrecord, never booted) or a folder listing. Local files only.',
|
||||||
props: { lang, only: { type: 'string', description: 'Comma-separated clip names' }, source },
|
props: { lang, only: { type: 'string', description: 'Comma-separated clip names' }, source },
|
||||||
args: i => [...opt('lang', i.lang), ...opt('only', i.only), ...opt('source', i.source)] },
|
args: i => [...opt('lang', i.lang), ...opt('only', i.only), ...opt('source', i.source)] },
|
||||||
{ name: 'shots_video', title: 'Cut app previews', command: ['shots', 'video'], write: true, network: false, idempotent: true,
|
{ name: 'shots_video', title: 'Cut app previews', command: ['shots', 'video'], write: true, network: false, idempotent: true,
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ export const UNSUPPORTED_PROTOCOL_VERSION = -32022;
|
||||||
export const TOOLS_TTL_MS = 300_000;
|
export const TOOLS_TTL_MS = 300_000;
|
||||||
|
|
||||||
export const INSTRUCTIONS = [
|
export const INSTRUCTIONS = [
|
||||||
'storebound ships mobile games to Google Play and the App Store.',
|
'storebound takes mobile apps and games from nothing to Submit for review on Google Play and the App Store (app profiles: game, app, subscription-app).',
|
||||||
'Write tools default to dry_run: show the dry run to the owner and only call again with dry_run false after they agree.',
|
'Write tools default to dry_run: show the dry run to the owner and only call again with dry_run false after they agree.',
|
||||||
'Nothing here submits for review, releases, cancels, deletes or sends anything public (review replies, tester invitations, price changes, experiment starts): tell the owner which terminal command or console click does that.',
|
'Nothing here submits for review, releases, cancels, deletes or sends anything public (review replies, tester invitations, price changes, experiment starts): tell the owner which terminal command or console click does that.',
|
||||||
'Credentials come only from env or .storebound/ in the project; never ask for keys in chat or write them into files.',
|
'Credentials come only from env or .storebound/ in the project; never ask for keys in chat or write them into files.',
|
||||||
|
|
|
||||||
|
|
@ -121,7 +121,7 @@ export async function run(ctx: Ctx): Promise<void> {
|
||||||
if (!plan.send.length) { done(TAG, 'nothing to send'); return; }
|
if (!plan.send.length) { done(TAG, 'nothing to send'); return; }
|
||||||
console.log(textTable(['store', 'review', 'chars', 'reply'], plan.send.map(d => [d.store, d.reviewId, [...d.reply].length, d.reply.replace(/\s+/g, ' ').slice(0, 70)])));
|
console.log(textTable(['store', 'review', 'chars', 'reply'], plan.send.map(d => [d.store, d.reviewId, [...d.reply].length, d.reply.replace(/\s+/g, ' ').slice(0, 70)])));
|
||||||
if (a.has('dry')) { done(TAG, `${plan.send.length} reply(ies) would be sent (dry run)`); return; }
|
if (a.has('dry')) { done(TAG, `${plan.send.length} reply(ies) would be sent (dry run)`); return; }
|
||||||
if (!(await confirm(ctx, `Send ${plan.send.length} public reply(ies)? Players are notified and the replies show on the store.`))) return;
|
if (!(await confirm(ctx, `Send ${plan.send.length} public reply(ies)? Users are notified and the replies show on the store.`))) return;
|
||||||
const { config, root } = ctx.loaded;
|
const { config, root } = ctx.loaded;
|
||||||
const c = plan.send.some(d => d.store === 'apple') ? await ascClient(root, config.apple!.bundleId, config.apple?.appId) : null;
|
const c = plan.send.some(d => d.store === 'apple') ? await ascClient(root, config.apple!.bundleId, config.apple?.appId) : null;
|
||||||
const play = plan.send.some(d => d.store === 'play') ? await playClient(root, config.play!.packageName) : null;
|
const play = plan.send.some(d => d.store === 'play') ? await playClient(root, config.play!.packageName) : null;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Draft player-facing release notes from the git log and write them into the listing files (text only; nothing is
|
// Draft user-facing release notes from the git log and write them into the listing files (text only; nothing is
|
||||||
// sent to a store). A human (or an agent with the whats-new skill) rewrites and translates before `play release` /
|
// sent to a store). A human (or an agent with the whats-new skill) rewrites and translates before `play release` /
|
||||||
// `apple listing` push them.
|
// `apple listing` push them.
|
||||||
// storebound whats-new [--since v1.1.0] [--lang en-US] [--all] [--hook "text"] [--dry]
|
// storebound whats-new [--since v1.1.0] [--lang en-US] [--all] [--hook "text"] [--dry]
|
||||||
|
|
@ -23,7 +23,7 @@ export async function run(ctx: Ctx): Promise<void> {
|
||||||
const range = since ? `${since}..HEAD` : 'HEAD';
|
const range = since ? `${since}..HEAD` : 'HEAD';
|
||||||
const subjects = git(['log', range, '--no-merges', '--format=%s'], root).split('\n').filter(Boolean);
|
const subjects = git(['log', range, '--no-merges', '--format=%s'], root).split('\n').filter(Boolean);
|
||||||
const items = noteItems(subjects);
|
const items = noteItems(subjects);
|
||||||
log('whats-new', `${subjects.length} commits since ${since || 'the first commit'} -> ${items.length} player-facing items`);
|
log('whats-new', `${subjects.length} commits since ${since || 'the first commit'} -> ${items.length} user-facing items`);
|
||||||
const hook = a.get('hook');
|
const hook = a.get('hook');
|
||||||
const play = formatNotes(items, { hook, limit: NOTES_LIMITS.play });
|
const play = formatNotes(items, { hook, limit: NOTES_LIMITS.play });
|
||||||
const apple = formatNotes(items, { hook, limit: NOTES_LIMITS.apple });
|
const apple = formatNotes(items, { hook, limit: NOTES_LIMITS.apple });
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,8 @@ These rules apply to every AI tool that uses storebound (skills, MCP server or t
|
||||||
3. **Read before you write.** `storebound check` (offline) and `storebound validate` (read-only, both stores) tell you
|
3. **Read before you write.** `storebound check` (offline) and `storebound validate` (read-only, both stores) tell you
|
||||||
what is missing and in which order to fix it.
|
what is missing and in which order to fix it.
|
||||||
4. **Credentials only from the environment or `.storebound/`** in the project (gitignored). Never ask for keys,
|
4. **Credentials only from the environment or `.storebound/`** in the project (gitignored). Never ask for keys,
|
||||||
passwords or tokens in chat, never print them, never write them into the config, docs or commits.
|
passwords or tokens in chat, never print them, never write them into the config, docs or commits. The same goes
|
||||||
|
for the App Review demo account (`reviewDemoAccount` in `.storebound/credentials.json`): the owner puts it there.
|
||||||
5. **Never answer a compliance question you cannot know.** Export compliance, Data safety, App Privacy, age rating,
|
5. **Never answer a compliance question you cannot know.** Export compliance, Data safety, App Privacy, age rating,
|
||||||
target audience: ask the owner when the code does not prove the answer. A wrong "no" is worse than a slow "ask".
|
target audience: ask the owner when the code does not prove the answer. A wrong "no" is worse than a slow "ask".
|
||||||
6. **Pick builds by explicit number.** Use the build number / versionCode you just uploaded, never "the latest".
|
6. **Pick builds by explicit number.** Use the build number / versionCode you just uploaded, never "the latest".
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "storebound",
|
"name": "storebound",
|
||||||
"version": "0.4.0",
|
"version": "0.5.0",
|
||||||
"description": "From nothing to Submit for review on Google Play and the App Store: app records, listings in every language, in-app products with regional prices, every questionnaire (Data safety, IARC, target audience, ads, App Privacy, age rating, export compliance), privacy, icons, screenshots and previews, validate, TestFlight, release management, and after launch: crash vitals, review replies, price sheets, store analytics, Product Page Optimization. Agent Skills plus a Bun CLI and MCP server (storebound); you press Submit. CRTkafa's own toolchain, open-sourced.",
|
"description": "Take a mobile app or game from nothing to Submit for review on Google Play and the App Store: app records, listings in every language, in-app products and subscriptions with regional prices, every questionnaire (Data safety, App access and demo accounts, account deletion, IARC, target audience, ads, App Privacy, age rating, export compliance), privacy, icons, screenshots and previews, validate, TestFlight, release management, and after launch: crash vitals, review replies, price sheets, store analytics, Product Page Optimization. Agent Skills plus a Bun CLI and MCP server (storebound); you press Submit. CRTkafa's own toolchain, open-sourced.",
|
||||||
"contextFileName": "GEMINI.md",
|
"contextFileName": "GEMINI.md",
|
||||||
"mcpServers": {
|
"mcpServers": {
|
||||||
"storebound": {
|
"storebound": {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "storebound",
|
"name": "storebound",
|
||||||
"version": "0.4.0",
|
"version": "0.5.0",
|
||||||
"description": "Take a mobile game from nothing to Submit for review on Google Play and the App Store: app records, listings in every language, in-app products with regional prices, every store questionnaire, privacy, icons, screenshots and previews, TestFlight. After launch: crash vitals, review replies, price sheets, analytics and Product Page Optimization. One config, a Bun CLI, an MCP server and Agent Skills for your AI coding agent.",
|
"description": "Take a mobile app or game from nothing to Submit for review on Google Play and the App Store: app records, listings in every language, in-app products and subscriptions with regional prices, every store questionnaire (incl. account deletion and App Review demo accounts), privacy, icons, screenshots and previews, TestFlight. After launch: crash vitals, review replies, price sheets, analytics and Product Page Optimization. One config, a Bun CLI, an MCP server and Agent Skills for your AI coding agent.",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": "CRTkafa",
|
"author": "CRTkafa",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|
@ -12,7 +12,9 @@
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"google-play",
|
"google-play",
|
||||||
"app-store-connect",
|
"app-store-connect",
|
||||||
|
"mobile-apps",
|
||||||
"mobile-games",
|
"mobile-games",
|
||||||
|
"subscriptions",
|
||||||
"store-listing",
|
"store-listing",
|
||||||
"in-app-purchases",
|
"in-app-purchases",
|
||||||
"screenshots",
|
"screenshots",
|
||||||
|
|
|
||||||
BIN
site/img/app-style.jpg
Normal file
BIN
site/img/app-style.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 141 KiB |
|
|
@ -4,7 +4,7 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>storebound · from zero to Submit for review on Google Play and the App Store</title>
|
<title>storebound · from zero to Submit for review on Google Play and the App Store</title>
|
||||||
<meta name="description" content="Take a mobile game from nothing to Submit for review on Google Play and the App Store: app records, IAP prices, listings in every language, every questionnaire, privacy, icons, screenshots and previews. One config and your AI coding agent. storebound never presses Submit.">
|
<meta name="description" content="Take a mobile app or game from nothing to Submit for review on Google Play and the App Store: app records, in-app products and subscriptions, listings in every language, every questionnaire, account deletion and review access, privacy, icons, screenshots and previews. One config and your AI coding agent. storebound never presses Submit.">
|
||||||
<link rel="canonical" href="https://storebound.dev/">
|
<link rel="canonical" href="https://storebound.dev/">
|
||||||
<meta name="color-scheme" content="light dark">
|
<meta name="color-scheme" content="light dark">
|
||||||
<meta name="theme-color" content="#f8fafc" media="(prefers-color-scheme: light)">
|
<meta name="theme-color" content="#f8fafc" media="(prefers-color-scheme: light)">
|
||||||
|
|
@ -13,15 +13,15 @@
|
||||||
<meta property="og:type" content="website">
|
<meta property="og:type" content="website">
|
||||||
<meta property="og:site_name" content="storebound">
|
<meta property="og:site_name" content="storebound">
|
||||||
<meta property="og:url" content="https://storebound.dev/">
|
<meta property="og:url" content="https://storebound.dev/">
|
||||||
<meta property="og:title" content="storebound · from zero to Submit for review on both stores">
|
<meta property="og:title" content="storebound · take your app or game from zero to Submit for review">
|
||||||
<meta property="og:description" content="App records, IAP prices, listings in every language, every questionnaire, privacy, icons, screenshots. One config and your AI coding agent. Open source, MIT.">
|
<meta property="og:description" content="For mobile apps and games: app records, in-app products and subscriptions, listings in every language, every questionnaire, privacy, icons, screenshots. One config and your AI coding agent. Open source, MIT.">
|
||||||
<meta property="og:image" content="https://storebound.dev/og.png">
|
<meta property="og:image" content="https://storebound.dev/og.png">
|
||||||
<meta property="og:image:width" content="1200">
|
<meta property="og:image:width" content="1200">
|
||||||
<meta property="og:image:height" content="630">
|
<meta property="og:image:height" content="630">
|
||||||
<meta property="og:image:alt" content="storebound: from zero to Submit for review on Google Play and the App Store">
|
<meta property="og:image:alt" content="storebound: take a mobile app or game from zero to Submit for review on Google Play and the App Store">
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
<meta name="twitter:title" content="storebound · from zero to Submit for review on both stores">
|
<meta name="twitter:title" content="storebound · take your app or game from zero to Submit for review">
|
||||||
<meta name="twitter:description" content="App records, IAP prices, listings in every language, every questionnaire, privacy, icons, screenshots. One config and your AI coding agent.">
|
<meta name="twitter:description" content="For mobile apps and games: app records, in-app products and subscriptions, listings in every language, every questionnaire, privacy, icons, screenshots. One config and your AI coding agent.">
|
||||||
<meta name="twitter:image" content="https://storebound.dev/og.png">
|
<meta name="twitter:image" content="https://storebound.dev/og.png">
|
||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="style.css">
|
||||||
<script>document.documentElement.classList.add('js')</script>
|
<script>document.documentElement.classList.add('js')</script>
|
||||||
|
|
@ -51,8 +51,8 @@
|
||||||
<div class="wrap hero-in">
|
<div class="wrap hero-in">
|
||||||
<div class="hero-copy">
|
<div class="hero-copy">
|
||||||
<p class="eyebrow"><span class="dot" aria-hidden="true"></span>Open source · MIT · Bun CLI, MCP server, Agent Skills</p>
|
<p class="eyebrow"><span class="dot" aria-hidden="true"></span>Open source · MIT · Bun CLI, MCP server, Agent Skills</p>
|
||||||
<h1>From zero to <span class="hl">“Submit for review”</span> on Google Play and the App Store.</h1>
|
<h1>Take your app or game from zero to <span class="hl">“Submit for review”</span> on Google Play and the App Store.</h1>
|
||||||
<p class="lede">App records, in-app product prices, listings in every language, every questionnaire, privacy, icons, screenshots and previews. One config and your AI coding agent. <strong>storebound never presses Submit.</strong></p>
|
<p class="lede">For mobile apps and games: app records, in-app products and subscriptions, listings in every language, every questionnaire, account deletion and review access, privacy, icons, screenshots and previews. One config and your AI coding agent. <strong>storebound never presses Submit.</strong></p>
|
||||||
<div class="ctas">
|
<div class="ctas">
|
||||||
<a class="btn btn-primary" href="#start">Get started</a>
|
<a class="btn btn-primary" href="#start">Get started</a>
|
||||||
<a class="btn btn-ghost" href="https://git.crt.fyi/CRT/storebound" target="_blank" rel="noopener">View on git<span class="ext" aria-hidden="true">↗</span><span class="sr-only"> (opens in a new tab)</span></a>
|
<a class="btn btn-ghost" href="https://git.crt.fyi/CRT/storebound" target="_blank" rel="noopener">View on git<span class="ext" aria-hidden="true">↗</span><span class="sr-only"> (opens in a new tab)</span></a>
|
||||||
|
|
@ -66,13 +66,14 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="term" aria-label="Example session: dry runs first">
|
<div class="term" aria-label="Example session: dry runs first">
|
||||||
<div class="term-bar"><span></span><span></span><span></span><em>my-game</em></div>
|
<div class="term-bar"><span></span><span></span><span></span><em>my-app</em></div>
|
||||||
<pre><code><span class="c"># one config, then dry runs first</span>
|
<pre><code><span class="c"># one config, then dry runs first</span>
|
||||||
<span class="p">$</span> bunx storebound check
|
<span class="p">$</span> bunx storebound check
|
||||||
<span class="p">$</span> bunx storebound apple bundle --dry
|
<span class="p">$</span> bunx storebound apple bundle --dry
|
||||||
<span class="p">$</span> bunx storebound play listing --dry
|
<span class="p">$</span> bunx storebound play listing --dry
|
||||||
<span class="p">$</span> bunx storebound play products --dry
|
<span class="p">$</span> bunx storebound play products --dry
|
||||||
<span class="p">$</span> bunx storebound apple iap --dry
|
<span class="p">$</span> bunx storebound apple iap --dry
|
||||||
|
<span class="p">$</span> bunx storebound apple subscriptions --dry
|
||||||
<span class="p">$</span> bunx storebound play data-safety --dry
|
<span class="p">$</span> bunx storebound play data-safety --dry
|
||||||
<span class="p">$</span> bunx storebound apple appinfo --dry
|
<span class="p">$</span> bunx storebound apple appinfo --dry
|
||||||
<span class="p">$</span> bunx storebound icons --dry
|
<span class="p">$</span> bunx storebound icons --dry
|
||||||
|
|
@ -85,7 +86,7 @@
|
||||||
</div>
|
</div>
|
||||||
<ul class="wrap stats" aria-label="At a glance">
|
<ul class="wrap stats" aria-label="At a glance">
|
||||||
<li><b>2</b> stores, one config</li>
|
<li><b>2</b> stores, one config</li>
|
||||||
<li><b>21</b> Agent Skills</li>
|
<li><b>25</b> Agent Skills</li>
|
||||||
<li><b>0</b> runtime dependencies</li>
|
<li><b>0</b> runtime dependencies</li>
|
||||||
<li><b>--dry</b> on every write</li>
|
<li><b>--dry</b> on every write</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
@ -94,7 +95,7 @@
|
||||||
<section class="sec" id="journey" aria-labelledby="journey-h">
|
<section class="sec" id="journey" aria-labelledby="journey-h">
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<p class="kicker">The journey</p>
|
<p class="kicker">The journey</p>
|
||||||
<h2 id="journey-h">Everything a game needs before review, in order.</h2>
|
<h2 id="journey-h">Everything an app or game needs before review, in order.</h2>
|
||||||
<p class="sub">For each step: what storebound does through the store APIs or on your machine, what a skill walks your agent through where the stores have no public API, and what stays your own click.</p>
|
<p class="sub">For each step: what storebound does through the store APIs or on your machine, what a skill walks your agent through where the stores have no public API, and what stays your own click.</p>
|
||||||
<figure class="journey">
|
<figure class="journey">
|
||||||
<img src="img/journey.svg" width="960" height="560" alt="The journey: config, app records, products, listings, questionnaires, privacy and icons, store art, validate, then you press Submit. Each step is tagged API, UI, local or you." loading="lazy" decoding="async">
|
<img src="img/journey.svg" width="960" height="560" alt="The journey: config, app records, products, listings, questionnaires, privacy and icons, store art, validate, then you press Submit. Each step is tagged API, UI, local or you." loading="lazy" decoding="async">
|
||||||
|
|
@ -159,11 +160,45 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="sec" id="questionnaires" aria-labelledby="q-h">
|
<section class="sec" id="apps" aria-labelledby="apps-h">
|
||||||
|
<div class="wrap">
|
||||||
|
<p class="kicker">Apps and games</p>
|
||||||
|
<h2 id="apps-h">Not just for games. Pick a profile, start from honest templates.</h2>
|
||||||
|
<p class="sub"><code>init --profile app</code> (the default: utility or productivity app, optional account, analytics, no ads), <code>--profile subscription-app</code> or <code>--profile game</code>. Each profile brings its own config, Data safety and App Privacy answers, declarations, listing and screenshot copy, all marked “edit to match your app”.</p>
|
||||||
|
<div class="qgrid">
|
||||||
|
<article class="q">
|
||||||
|
<div class="q-top"><span class="store">Both stores</span><span class="tag t-api">API</span></div>
|
||||||
|
<h3>Subscriptions</h3>
|
||||||
|
<p>Apple groups and levels, Play base plans, regional prices from one USD base, free trials, promotional offers and offer codes. Plan first, then your yes.</p>
|
||||||
|
<code class="cmd">apple subscriptions · play subscriptions</code>
|
||||||
|
</article>
|
||||||
|
<article class="q">
|
||||||
|
<div class="q-top"><span class="store">Both stores</span><span class="tag t-api">API</span></div>
|
||||||
|
<h3>One catalog, both stores</h3>
|
||||||
|
<p>Consumables, non-consumables, non-renewing passes and subscriptions from one list. A parity report shows what is missing, mismatched or priced differently per region.</p>
|
||||||
|
<code class="cmd">catalog diff</code>
|
||||||
|
</article>
|
||||||
|
<article class="q">
|
||||||
|
<div class="q-top"><span class="store">Both stores</span><span class="tag t-api">API</span></div>
|
||||||
|
<h3>Review access</h3>
|
||||||
|
<p>A demo account for the reviewer, kept only in <code>.storebound/</code>, sent to App Review masked; the Play App access answer prepared.</p>
|
||||||
|
<code class="cmd">apple review-details</code>
|
||||||
|
</article>
|
||||||
|
<article class="q">
|
||||||
|
<div class="q-top"><span class="store">Both stores</span><span class="tag t-local">local</span></div>
|
||||||
|
<h3>Account deletion</h3>
|
||||||
|
<p>Apple 5.1.1(v) in-app deletion and Play's delete-account page: in the config, the review notes and the checks.</p>
|
||||||
|
<code class="cmd">check · validate</code>
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="sec alt" id="questionnaires" aria-labelledby="q-h">
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<p class="kicker">Questionnaires</p>
|
<p class="kicker">Questionnaires</p>
|
||||||
<h2 id="q-h">Every store form, prepared. The ones with an API, filled.</h2>
|
<h2 id="q-h">Every store form, prepared. The ones with an API, filled.</h2>
|
||||||
<p class="sub"><code>init</code> gives you prepared answers (<code>store/declarations.md</code>, <code>store/app-privacy.md</code>), written for a typical free-to-play game with ads and IAP. Change what does not match your game; the agent asks you whenever the code does not prove an answer.</p>
|
<p class="sub"><code>init</code> gives you prepared answers (<code>store/declarations.md</code>, <code>store/app-privacy.md</code>), per profile: a utility app with an account, a subscription app, or a free-to-play game with ads and IAP. Change what does not match your app; the agent asks you whenever the code does not prove an answer.</p>
|
||||||
<div class="qgrid">
|
<div class="qgrid">
|
||||||
<article class="q">
|
<article class="q">
|
||||||
<div class="q-top"><span class="store">Google Play</span><span class="tag t-api">API</span></div>
|
<div class="q-top"><span class="store">Google Play</span><span class="tag t-api">API</span></div>
|
||||||
|
|
@ -206,7 +241,7 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="sec alt" id="works-with" aria-labelledby="w-h">
|
<section class="sec" id="works-with" aria-labelledby="w-h">
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<p class="kicker">Works with</p>
|
<p class="kicker">Works with</p>
|
||||||
<h2 id="w-h">Your AI coding agent. Or none.</h2>
|
<h2 id="w-h">Your AI coding agent. Or none.</h2>
|
||||||
|
|
@ -224,14 +259,18 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="sec" id="store-art" aria-labelledby="art-h">
|
<section class="sec alt" id="store-art" aria-labelledby="art-h">
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<p class="kicker">Store art</p>
|
<p class="kicker">Store art</p>
|
||||||
<h2 id="art-h">Screenshots and previews, every size, every language.</h2>
|
<h2 id="art-h">Screenshots and previews, every size, every language.</h2>
|
||||||
<p class="sub">The step that takes longest by hand. Everything below was made by storebound itself from a tiny demo game (“Prism Puddle”, fictional, procedural art): raw frames from the web build, captions in 4 languages, every store size, a review gallery and an app preview video.</p>
|
<p class="sub">The step that takes longest by hand, in two looks: <code>app</code> (calm gradient, device frame, headline and subline) and <code>game</code> (sunburst, sparkles, badges). Everything below was made by storebound itself from two tiny fictional demos, a list app (“Tidy Lists”) and a game (“Prism Puddle”): raw frames from the web build, captions in 4 languages, every store size, a review gallery and an app preview video.</p>
|
||||||
|
<figure class="shot shot-wide">
|
||||||
|
<img src="img/app-style.jpg" width="1600" height="962" alt="App style: four calm screenshots of a demo list app in two sizes and its feature graphic" loading="lazy" decoding="async">
|
||||||
|
<figcaption>App style: the demo list app, iPhone 6.9" and Play phone sizes, feature graphic.</figcaption>
|
||||||
|
</figure>
|
||||||
<figure class="shot shot-wide">
|
<figure class="shot shot-wide">
|
||||||
<img src="img/showcase.webp" width="1600" height="505" alt="Store screenshots rendered by storebound: four scenes in English plus the hero scene in Turkish, Japanese and Arabic" loading="lazy" decoding="async">
|
<img src="img/showcase.webp" width="1600" height="505" alt="Store screenshots rendered by storebound: four scenes in English plus the hero scene in Turkish, Japanese and Arabic" loading="lazy" decoding="async">
|
||||||
<figcaption>Four scenes in English, the hero scene in Turkish, Japanese and Arabic (right to left).</figcaption>
|
<figcaption>Game style: four scenes in English, the hero scene in Turkish, Japanese and Arabic (right to left).</figcaption>
|
||||||
</figure>
|
</figure>
|
||||||
<div class="art2">
|
<div class="art2">
|
||||||
<figure class="shot">
|
<figure class="shot">
|
||||||
|
|
@ -252,11 +291,11 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="sec alt" id="after-launch" aria-labelledby="after-h">
|
<section class="sec" id="after-launch" aria-labelledby="after-h">
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<p class="kicker">After launch</p>
|
<p class="kicker">After launch</p>
|
||||||
<h2 id="after-h">The game is live. storebound keeps going.</h2>
|
<h2 id="after-h">The app is live. storebound keeps going.</h2>
|
||||||
<p class="sub">New in 0.4.0. Drafts and dry runs by default; anything that reaches players or money waits for your yes.</p>
|
<p class="sub">Drafts and dry runs by default; anything that reaches users or money waits for your yes.</p>
|
||||||
<div class="qgrid">
|
<div class="qgrid">
|
||||||
<article class="q">
|
<article class="q">
|
||||||
<div class="q-top"><span class="store">App Store</span><span class="tag t-api">API</span></div>
|
<div class="q-top"><span class="store">App Store</span><span class="tag t-api">API</span></div>
|
||||||
|
|
@ -298,18 +337,18 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="sec" id="start" aria-labelledby="start-h">
|
<section class="sec alt" id="start" aria-labelledby="start-h">
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<p class="kicker">Quick start</p>
|
<p class="kicker">Quick start</p>
|
||||||
<h2 id="start-h">Five minutes to a checked config.</h2>
|
<h2 id="start-h">Five minutes to a checked config.</h2>
|
||||||
<div class="start">
|
<div class="start">
|
||||||
<div class="step">
|
<div class="step">
|
||||||
<h3><span class="num">1</span>Add it to your game</h3>
|
<h3><span class="num">1</span>Add it to your app or game</h3>
|
||||||
<div class="code">
|
<div class="code">
|
||||||
<button class="copy" type="button" data-copy-target="qs1" aria-label="Copy commands">Copy</button>
|
<button class="copy" type="button" data-copy-target="qs1" aria-label="Copy commands">Copy</button>
|
||||||
<pre id="qs1"><code>cd my-game
|
<pre id="qs1"><code>cd my-app
|
||||||
bun add -d storebound playwright
|
bun add -d storebound playwright
|
||||||
bunx storebound init <span class="c"># config, store/*.md, declarations, privacy policy</span>
|
bunx storebound init <span class="c"># --profile app (default) | subscription-app | game</span>
|
||||||
bunx storebound check <span class="c"># offline: config, copy limits, Data safety, products, files</span></code></pre>
|
bunx storebound check <span class="c"># offline: config, copy limits, Data safety, products, files</span></code></pre>
|
||||||
</div>
|
</div>
|
||||||
<p class="fine">Credentials come from environment variables or the gitignored <code>.storebound/credentials.json</code>: a Play service account key and an App Store Connect API team key.</p>
|
<p class="fine">Credentials come from environment variables or the gitignored <code>.storebound/credentials.json</code>: a Play service account key and an App Store Connect API team key.</p>
|
||||||
|
|
@ -383,9 +422,10 @@ bunx storebound check <span class="c"># offline: config, copy limits, Data saf
|
||||||
<div class="step">
|
<div class="step">
|
||||||
<h3><span class="num">3</span>Ask your agent</h3>
|
<h3><span class="num">3</span>Ask your agent</h3>
|
||||||
<ul class="asks">
|
<ul class="asks">
|
||||||
<li>“take my game to Google Play and the App Store”</li>
|
<li>“take my app to Google Play and the App Store”</li>
|
||||||
<li>“fill in the store questionnaires”</li>
|
<li>“fill in the store questionnaires”</li>
|
||||||
<li>“set up the in-app purchases on both stores”</li>
|
<li>“add a yearly subscription with a free trial on both stores”</li>
|
||||||
|
<li>“the reviewer could not sign in”</li>
|
||||||
<li>“make store screenshots in 5 languages”</li>
|
<li>“make store screenshots in 5 languages”</li>
|
||||||
<li>“is my app ready to submit”</li>
|
<li>“is my app ready to submit”</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
@ -395,14 +435,14 @@ bunx storebound check <span class="c"># offline: config, copy limits, Data saf
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="sec alt" id="safety" aria-labelledby="safety-h">
|
<section class="sec" id="safety" aria-labelledby="safety-h">
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<p class="kicker">Safety model</p>
|
<p class="kicker">Safety model</p>
|
||||||
<h2 id="safety-h">Built to be handed to an agent.</h2>
|
<h2 id="safety-h">Built to be handed to an agent.</h2>
|
||||||
<ul class="safety">
|
<ul class="safety">
|
||||||
<li><h3>Credentials stay out of the repo</h3><p>Env vars or the gitignored <code>.storebound/credentials.json</code>. Official store APIs only, with keys you create and can revoke, never your password.</p></li>
|
<li><h3>Credentials stay out of the repo</h3><p>Env vars or the gitignored <code>.storebound/credentials.json</code>. Official store APIs only, with keys you create and can revoke, never your password.</p></li>
|
||||||
<li><h3>Dry run everywhere</h3><p>Every write command takes <code>--dry</code>; every MCP write tool has <code>dry_run</code>, <strong>default true</strong>.</p></li>
|
<li><h3>Dry run everywhere</h3><p>Every write command takes <code>--dry</code>; every MCP write tool has <code>dry_run</code>, <strong>default true</strong>.</p></li>
|
||||||
<li><h3>Nothing public or irreversible through an agent</h3><p>Submitting, releasing, production releases, resuming or completing a rollout, canceling a submission and deleting are not MCP tools. They stay terminal commands that ask first.</p></li>
|
<li><h3>Nothing public or irreversible through an agent</h3><p>Submitting, releasing, production releases, resuming or completing a rollout, canceling a submission, deleting and creating offer codes are not MCP tools. Demo accounts for reviewers live only in <code>.storebound/</code>. They stay terminal commands that ask first.</p></li>
|
||||||
<li><h3>Idempotent writes</h3><p>Re-running converges (MD5 checks for screenshots and previews, one Play edit per language), so a failed upload is fixed by running it again.</p></li>
|
<li><h3>Idempotent writes</h3><p>Re-running converges (MD5 checks for screenshots and previews, one Play edit per language), so a failed upload is fixed by running it again.</p></li>
|
||||||
<li><h3>Careful with your devices</h3><p>storebound shuts down only a simulator it booted itself, and never boots, wipes or reboots an Android emulator or device.</p></li>
|
<li><h3>Careful with your devices</h3><p>storebound shuts down only a simulator it booted itself, and never boots, wipes or reboots an Android emulator or device.</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
||||||
BIN
site/og.png
BIN
site/og.png
Binary file not shown.
|
Before Width: | Height: | Size: 139 KiB After Width: | Height: | Size: 124 KiB |
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
name: app-icons
|
name: app-icons
|
||||||
description: Generate every app icon a mobile game needs from one artwork - App Store 1024 (no alpha), Play 512, Android adaptive foreground/background, legacy round and square launcher icons, iOS sizes via @capacitor/assets, web favicons, apple-touch and maskable icons. Use when the user wants app icons, launcher icons, adaptive icons, favicons, or an icon looks cropped/cut off on Android or is rejected for alpha on iOS.
|
description: Generate every icon a mobile app or game needs from one artwork - App Store 1024 (no alpha), Play 512, Android adaptive foreground/background, legacy round and square launcher icons, iOS sizes via @capacitor/assets, web favicons, apple-touch and maskable icons. Use when the user wants app icons, launcher icons, adaptive icons, favicons, or an icon looks cropped/cut off on Android or is rejected for alpha on iOS.
|
||||||
---
|
---
|
||||||
|
|
||||||
# App icons from one artwork
|
# App icons from one artwork
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
name: app-previews
|
name: app-previews
|
||||||
description: Make App Store app preview videos and a Google Play promo video for a mobile game from real gameplay - record clips from a web build, the iOS Simulator, an Android emulator or a folder, cut them to the store formats with captions in every language, check them against the store rules, upload the previews to App Store Connect and put the YouTube URL on Play. Use when the user wants an app preview, preview video, promo video, gameplay trailer for the stores, or asks about app preview sizes and rules.
|
description: Make App Store app preview videos and a Google Play promo video for a mobile app or game from real footage (gameplay or app flows) - record clips from a web build, the iOS Simulator, an Android emulator or a folder, cut them to the store formats with captions in every language, check them against the store rules, upload the previews to App Store Connect and put the YouTube URL on Play. Use when the user wants an app preview, preview video, promo video, gameplay trailer for the stores, or asks about app preview sizes and rules.
|
||||||
---
|
---
|
||||||
|
|
||||||
# App previews and promo video
|
# App previews and promo video
|
||||||
|
|
@ -27,9 +27,9 @@ other platforms' UI. Play promo video: YouTube URL, public or unlisted, ads off,
|
||||||
(https://support.google.com/googleplay/android-developer/answer/9866151).
|
(https://support.google.com/googleplay/android-developer/answer/9866151).
|
||||||
|
|
||||||
## Steps
|
## Steps
|
||||||
1. **Hands-free gameplay.** Give the game an autoplay / attract mode switch (URL param, launch argument or intent
|
1. **Hands-free footage.** Give the game an autoplay / attract mode switch, or the app a scripted demo of its main
|
||||||
extra) plus the screenshot switches (language, fixed seed, no ads). Otherwise record yourself playing and use
|
flow on sample data (URL param, launch argument or intent extra), plus the screenshot switches (language, fixed
|
||||||
`--source folder`.
|
seed or demo data, no ads). Otherwise record the screen yourself and use `--source folder`.
|
||||||
2. **Clips.** `shots.video.record.clips`: per clip `seconds` (1-60) and `path` (web, after `shots.capture.baseUrl`),
|
2. **Clips.** `shots.video.record.clips`: per clip `seconds` (1-60) and `path` (web, after `shots.capture.baseUrl`),
|
||||||
or `url` / `args` / `extras` (simulator / emulator), `waitFor`, `delayMs`. The source and its settings come from
|
or `url` / `args` / `extras` (simulator / emulator), `waitFor`, `delayMs`. The source and its settings come from
|
||||||
`shots.capture` (or `record.source`). `storebound shots record --dry` shows the plan, then
|
`shots.capture` (or `record.source`). `storebound shots record --dry` shows the plan, then
|
||||||
|
|
@ -57,7 +57,7 @@ plan, then run for real only after the owner agreed. `shots_check` is read-only.
|
||||||
|
|
||||||
## Gotchas
|
## Gotchas
|
||||||
- Under 15 s of clips is an error: record longer clips or more of them.
|
- Under 15 s of clips is an error: record longer clips or more of them.
|
||||||
- Captions sit at the top: keep the game's HUD readable or set `captions: false`.
|
- Captions sit at the top: keep the app's top bar or the game's HUD readable or set `captions: false`.
|
||||||
- 886 x 1920 cover-crops a 9:19.5 phone recording almost exactly; tablet previews from phone clips are cropped hard,
|
- 886 x 1920 cover-crops a 9:19.5 phone recording almost exactly; tablet previews from phone clips are cropped hard,
|
||||||
record tablet clips (`record.device: 'tablet'`) or use `fit: 'contain'`.
|
record tablet clips (`record.device: 'tablet'`) or use `fit: 'contain'`.
|
||||||
- Apple processes previews for a while after the upload; `apple previews` reports failed ones (re-run to retry).
|
- Apple processes previews for a while after the upload; `apple previews` reports failed ones (re-run to retry).
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
name: appstore-first-release
|
name: appstore-first-release
|
||||||
description: Step-by-step first (and later) App Store release of a mobile game - App Store Connect API key, bundle id, app record, signing and xcodebuild archive/upload with the API key, TestFlight, version + listing text in many locales, screenshots, age rating, App Privacy, review details, in-app purchases with the first version, and submitting for review. Use when the user wants to publish, release, upload or set up an iOS game/app on the App Store or TestFlight, or hits App Store Connect API errors.
|
description: Step-by-step first (and later) App Store release of a mobile app or game - App Store Connect API key, bundle id, app record, signing and xcodebuild archive/upload with the API key, TestFlight, version + listing text in many locales, screenshots, age rating, App Privacy, review details, in-app purchases with the first version, and submitting for review. Use when the user wants to publish, release, upload or set up an iOS app or game on the App Store or TestFlight, or hits App Store Connect API errors.
|
||||||
---
|
---
|
||||||
|
|
||||||
# App Store: first release
|
# App Store: first release
|
||||||
|
|
@ -22,7 +22,7 @@ of a first version is the owner's click. Shared agent rules: `docs/agents-core.m
|
||||||
3. **UI · App record.** Apps > + > New App: iOS, name, primary language, the bundle id, SKU. **No API for this.**
|
3. **UI · App record.** Apps > + > New App: iOS, name, primary language, the bundle id, SKU. **No API for this.**
|
||||||
Then `storebound apple status` finds it (put the Apple ID in `apple.appId` to skip the lookup).
|
Then `storebound apple status` finds it (put the Apple ID in `apple.appId` to skip the lookup).
|
||||||
4. **Local · Info.plist.** `ITSAppUsesNonExemptEncryption` with the true answer (`export-compliance` skill; `NO` only
|
4. **Local · Info.plist.** `ITSAppUsesNonExemptEncryption` with the true answer (`export-compliance` skill; `NO` only
|
||||||
when the game uses nothing beyond OS / HTTPS encryption) so builds arrive answered;
|
when the app uses nothing beyond OS / HTTPS encryption) so builds arrive answered;
|
||||||
`NSUserTrackingUsageDescription` if ads use the IDFA; privacy policy reachable inside the app (guideline 5.1.1).
|
`NSUserTrackingUsageDescription` if ads use the IDFA; privacy policy reachable inside the app (guideline 5.1.1).
|
||||||
5. **Local · Build + upload** (Mac, no Xcode account login needed, the API key does signing):
|
5. **Local · Build + upload** (Mac, no Xcode account login needed, the API key does signing):
|
||||||
```sh
|
```sh
|
||||||
|
|
@ -48,8 +48,11 @@ of a first version is the owner's click. Shared agent rules: `docs/agents-core.m
|
||||||
all territories. The **first** availability record of a new app may be refused by the public API (an error on
|
all territories. The **first** availability record of a new app may be refused by the public API (an error on
|
||||||
POST /v2/appAvailabilities); then set it once in App Store Connect > Pricing and Availability and re-run (later runs only read it).
|
POST /v2/appAvailabilities); then set it once in App Store Connect > Pricing and Availability and re-run (later runs only read it).
|
||||||
10. **API · Review details.** `storebound apple review-details` (contact from `.storebound/credentials.json`
|
10. **API · Review details.** `storebound apple review-details` (contact from `.storebound/credentials.json`
|
||||||
`reviewContact`, or `--contact-from <Apple ID of another app of the team>`; notes from the config).
|
`reviewContact`, or `--contact-from <Apple ID of another app of the team>`; notes from the config). Apps behind a
|
||||||
11. **API + UI · In-app purchases.** `store-iap-setup` skill. First IAPs go to review **with** this version.
|
sign-in: the demo account from `.storebound/` (`review-access` skill). Apps with accounts: in-app deletion
|
||||||
|
(`account-deletion` skill).
|
||||||
|
11. **API + UI · In-app purchases and subscriptions.** `store-iap-setup` and `store-subscriptions` skills. First
|
||||||
|
IAPs and subscriptions go to review **with** this version.
|
||||||
12. **UI · App Privacy.** `store-declarations` skill (nutrition labels), then **Publish**.
|
12. **UI · App Privacy.** `store-declarations` skill (nutrition labels), then **Publish**.
|
||||||
13. **Preflight.** `storebound validate --apple` until it shows no blocker (`store-preflight`).
|
13. **Preflight.** `storebound validate --apple` until it shows no blocker (`store-preflight`).
|
||||||
14. **UI · Submit.** Version page > Add for Review (with the IAPs in the same draft submission) > Submit for Review
|
14. **UI · Submit.** Version page > Add for Review (with the IAPs in the same draft submission) > Submit for Review
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
---
|
---
|
||||||
name: aso-basics
|
name: aso-basics
|
||||||
description: App store optimization basics for a mobile game's text - App Store keyword field rules (100 characters, commas without spaces, no repeats of name / subtitle words, fill 90%+), subtitle and name, cross-localization keyword room per storefront, screenshot captions with real keywords, Google Play title / short / full description keyword placement without stuffing. Use when the user writes or improves store listing text, keywords, or asks why the game is not found in store search.
|
description: App store optimization basics for a mobile app's or game's text - App Store keyword field rules (100 characters, commas without spaces, no repeats of name / subtitle words, fill 90%+), subtitle and name, cross-localization keyword room per storefront, screenshot captions with real keywords, Google Play title / short / full description keyword placement without stuffing. Use when the user writes or improves store listing text, keywords, or asks why the app or game is not found in store search.
|
||||||
---
|
---
|
||||||
|
|
||||||
# ASO basics
|
# ASO basics
|
||||||
|
|
||||||
Audit: `storebound check --aso` (offline, over `store/appstore.md` + `store/listing.md`; errors exit 1). Keep claims
|
Audit: `storebound check --aso` (offline, over `store/appstore.md` + `store/listing.md`; errors exit 1). Keep claims
|
||||||
true; never use competitor or other games' names, "best / #1", or unrelated popular terms (both stores reject it).
|
true; never use competitor or other apps' or games' names, "best / #1", or unrelated popular terms (both stores reject it).
|
||||||
|
|
||||||
## App Store
|
## App Store
|
||||||
- **Indexed fields**: app name (30), subtitle (30), keyword field (100). The description is **not** indexed for search.
|
- **Indexed fields**: app name (30), subtitle (30), keyword field (100). The description is **not** indexed for search.
|
||||||
|
|
@ -22,7 +22,7 @@ true; never use competitor or other games' names, "best / #1", or unrelated popu
|
||||||
every storefront that supports its language. That the keyword fields of several localizations **stack** in one
|
every storefront that supports its language. That the keyword fields of several localizations **stack** in one
|
||||||
storefront (e.g. extra English words in the es-MX field for US search) is community ASO knowledge, not an Apple
|
storefront (e.g. extra English words in the es-MX field for US search) is community ASO knowledge, not an Apple
|
||||||
statement: if you use it, the localization must still be a real translation for its own users.
|
statement: if you use it, the localization must still be a real translation for its own users.
|
||||||
- **Screenshot captions**: write them with the words players search for ("Match 3 puzzles offline", not "Fun awaits").
|
- **Screenshot captions**: write them with the words people search for ("Budget planner with shared lists", "Match 3 puzzles offline", not "Fun awaits").
|
||||||
Claims that Apple reads caption text for search ranking are unverified; good captions help conversion either way.
|
Claims that Apple reads caption text for search ranking are unverified; good captions help conversion either way.
|
||||||
- Changing keywords needs a new version (submitted with it); promotional text (170) changes any time but is not indexed.
|
- Changing keywords needs a new version (submitted with it); promotional text (170) changes any time but is not indexed.
|
||||||
|
|
||||||
|
|
@ -35,8 +35,8 @@ true; never use competitor or other games' names, "best / #1", or unrelated popu
|
||||||
- Localize every listing you can; Play machine-translates otherwise, which ranks and converts worse.
|
- Localize every listing you can; Play machine-translates otherwise, which ranks and converts worse.
|
||||||
|
|
||||||
## Workflow
|
## Workflow
|
||||||
1. List 20-30 candidate terms with the owner: what players would type to find this game (genre, mechanic, theme,
|
1. List 20-30 candidate terms with the owner: what people would type to find this app (the job it does, the problem it solves; for a game:
|
||||||
setting, mood). No paid tool needed to start; store search suggestions are a free signal.
|
genre, mechanic, theme, setting, mood). No paid tool needed to start; store search suggestions are a free signal.
|
||||||
2. Put the best 1-2 in name / title and subtitle / short description; the rest in the keyword field per locale.
|
2. Put the best 1-2 in name / title and subtitle / short description; the rest in the keyword field per locale.
|
||||||
3. `storebound check --aso`, fix errors, read warnings.
|
3. `storebound check --aso`, fix errors, read warnings.
|
||||||
4. Push with `apple listing` / `play listing`; measure after a few weeks (App Store Connect / Play Console acquisition
|
4. Push with `apple listing` / `play listing`; measure after a few weeks (App Store Connect / Play Console acquisition
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
name: export-compliance
|
name: export-compliance
|
||||||
description: Answer App Store export compliance (encryption) for a mobile game correctly - ITSAppUsesNonExemptEncryption in Info.plist, the per-build usesNonExemptEncryption answer and encryption declarations through the App Store Connect API (storebound apple encryption), French declaration, and what counts as exempt. Use when a build shows "Missing Compliance", App Store Connect asks about encryption, or before the first TestFlight / App Store upload.
|
description: Answer App Store export compliance (encryption) for a mobile app or game correctly - ITSAppUsesNonExemptEncryption in Info.plist, the per-build usesNonExemptEncryption answer and encryption declarations through the App Store Connect API (storebound apple encryption), French declaration, and what counts as exempt. Use when a build shows "Missing Compliance", App Store Connect asks about encryption, or before the first TestFlight / App Store upload.
|
||||||
---
|
---
|
||||||
|
|
||||||
# Export compliance (App Store)
|
# Export compliance (App Store)
|
||||||
|
|
@ -10,7 +10,7 @@ Compliance" and cannot go to TestFlight testers or review. The answer is a legal
|
||||||
**never declare exempt to get past the question**. When the code does not prove the answer, ask the owner.
|
**never declare exempt to get past the question**. When the code does not prove the answer, ask the owner.
|
||||||
|
|
||||||
## Decide
|
## Decide
|
||||||
Usually exempt (answer `false`), when the game only uses encryption through the OS or standard protocols:
|
Usually exempt (answer `false`), when the app only uses encryption through the OS or standard protocols:
|
||||||
- HTTPS / TLS through URLSession, WKWebView, the engine's HTTP client using the system TLS
|
- HTTPS / TLS through URLSession, WKWebView, the engine's HTTP client using the system TLS
|
||||||
- Apple frameworks (Keychain, CryptoKit used only for authentication / integrity), StoreKit, Game Center
|
- Apple frameworks (Keychain, CryptoKit used only for authentication / integrity), StoreKit, Game Center
|
||||||
- Ad, analytics, crash SDKs that talk HTTPS
|
- Ad, analytics, crash SDKs that talk HTTPS
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
name: play-first-release
|
name: play-first-release
|
||||||
description: Step-by-step first (and later) Google Play release of a mobile game - Play Console app creation, service account + API access, signing, AAB upload to internal testing, store listing, graphics, data safety, App content declarations, production draft and sending for review. Use when the user wants to publish, release, upload or set up an Android game/app on Google Play, push a Play listing or AAB, or hits Play Developer API errors (edits, "outside of this Edit", draft app releases).
|
description: Step-by-step first (and later) Google Play release of a mobile app or game - Play Console app creation, service account + API access, signing, AAB upload to internal testing, store listing, graphics, data safety, App content declarations, production draft and sending for review. Use when the user wants to publish, release, upload or set up an Android app or game on Google Play, push a Play listing or AAB, or hits Play Developer API errors (edits, "outside of this Edit", draft app releases).
|
||||||
---
|
---
|
||||||
|
|
||||||
# Google Play: first release
|
# Google Play: first release
|
||||||
|
|
@ -15,7 +15,7 @@ deleting products. Sending a first release for review is the owner's action in t
|
||||||
|
|
||||||
## Steps (API = storebound does it, UI = Play Console by hand)
|
## Steps (API = storebound does it, UI = Play Console by hand)
|
||||||
|
|
||||||
1. **UI · Create the app.** Play Console > Home > Create app: name, default language, Game, Free, declarations.
|
1. **UI · Create the app.** Play Console > Home > Create app: name, default language, App or Game, Free or Paid, declarations.
|
||||||
The package name is fixed by the first uploaded AAB.
|
The package name is fixed by the first uploaded AAB.
|
||||||
2. **UI · API access.** Google Cloud project (any) > enable "Google Play Android Developer API" > create a service
|
2. **UI · API access.** Google Cloud project (any) > enable "Google Play Android Developer API" > create a service
|
||||||
account > JSON key (keep it outside the repo). Play Console > Users and permissions > Invite new users > the
|
account > JSON key (keep it outside the repo). Play Console > Users and permissions > Invite new users > the
|
||||||
|
|
@ -41,7 +41,9 @@ deleting products. Sending a first release for review is the owner's action in t
|
||||||
9. **API · Data safety.** Answers in `dataSafety` of the config, `storebound play data-safety`, then check the summary
|
9. **API · Data safety.** Answers in `dataSafety` of the config, `storebound play data-safety`, then check the summary
|
||||||
in Policy and programs > App content > Data safety.
|
in Policy and programs > App content > Data safety.
|
||||||
10. **UI · App content.** `store-declarations` skill: privacy policy, ads, app access, content rating (IARC), target
|
10. **UI · App content.** `store-declarations` skill: privacy policy, ads, app access, content rating (IARC), target
|
||||||
audience, advertising ID, government / financial / health / news, data safety review.
|
audience, advertising ID, government / financial / health / news, data safety review. Behind a sign-in: App access
|
||||||
|
with the demo account (`review-access`); with accounts: the delete-account URL (`account-deletion`); subscriptions:
|
||||||
|
`storebound play subscriptions` (`store-subscriptions`).
|
||||||
11. **UI · Store settings.** Category + tags, contact details.
|
11. **UI · Store settings.** Category + tags, contact details.
|
||||||
12. **API + UI · Production.** `storebound play release --version-code N --production draft`, then in the Console:
|
12. **API + UI · Production.** `storebound play release --version-code N --production draft`, then in the Console:
|
||||||
Production > Countries/regions > Add countries > select all > Save; Production > the draft release > Edit >
|
Production > Countries/regions > Add countries > select all > Save; Production > the draft release > Edit >
|
||||||
|
|
|
||||||
|
|
@ -1,41 +1,42 @@
|
||||||
---
|
---
|
||||||
name: portfolio-originality
|
name: portfolio-originality
|
||||||
description: Originality gate for studios that ship many similar mobile games - score a planned or finished game against the studio's own catalogue (mechanic, content, art, metadata, screenshots), require a clear differentiator, and suggest merging thin ideas, to avoid App Store Guideline 4.3 (spam) and Play repetitive content rejections. Use before starting a new game, before submitting one, or after a 4.3 / "repetitive content" rejection.
|
description: Originality gate for studios and developers that ship many similar mobile apps or games (templates, white-label apps, reskins) - score a planned or finished app or game against your own catalogue (mechanic, content, art, metadata, screenshots), require a clear differentiator, and suggest merging thin ideas, to avoid App Store Guideline 4.3 (spam) and Play repetitive content rejections. Use before starting a new app or game, before submitting one, or after a 4.3 / "repetitive content" rejection.
|
||||||
---
|
---
|
||||||
|
|
||||||
# Portfolio originality (Guideline 4.3 gate)
|
# Portfolio originality (Guideline 4.3 gate)
|
||||||
|
|
||||||
Apple 4.3 and Play's repetitive content policy reject apps that are near-copies of other apps, **including your own**.
|
Apple 4.3 and Play's repetitive content policy reject apps that are near-copies of other apps, **including your own**.
|
||||||
Studios with a template engine hit this first. Run this gate twice: before building (idea stage) and before submitting.
|
Studios with a template engine and white-label / reskinned apps hit this first. Run this gate twice: before building (idea stage) and before submitting.
|
||||||
|
|
||||||
## Inputs
|
## Inputs
|
||||||
- The new game: one-paragraph pitch, core loop, controls, progression, art direction, the planned listing (name,
|
- The new app or game: one-paragraph pitch, core loop or main task, controls or flows, progression or features, art
|
||||||
|
direction, the planned listing (name,
|
||||||
subtitle, short description, keywords, screenshot captions).
|
subtitle, short description, keywords, screenshot captions).
|
||||||
- The catalogue: the same for every game the studio has published or submitted (store links are fine).
|
- The catalogue: the same for every app or game you have published or submitted (store links are fine).
|
||||||
|
|
||||||
## Score each pair (new game vs each catalogue game), 0 = identical, 2 = clearly different
|
## Score each pair (new app vs each catalogue app), 0 = identical, 2 = clearly different
|
||||||
| axis | 0 | 1 | 2 |
|
| axis | 0 | 1 | 2 |
|
||||||
|---|---|---|---|
|
|---|---|---|---|
|
||||||
| core mechanic | same verb, same rules | same verb, new rule that changes decisions | different verb / goal |
|
| core mechanic or main task | same verb, same rules | same verb, new rule that changes decisions | different verb / goal |
|
||||||
| content | same levels / items reskinned | new content, same structure | different structure (modes, progression) |
|
| content | same levels / items reskinned | new content, same structure | different structure (modes, progression) |
|
||||||
| art and audio | same assets / palette / UI kit | same kit, new theme | own visual identity |
|
| art and audio | same assets / palette / UI kit | same kit, new theme | own visual identity |
|
||||||
| metadata | same description pattern / keywords | rewritten, same promises | different promise and audience |
|
| metadata | same description pattern / keywords | rewritten, same promises | different promise and audience |
|
||||||
| screenshots | same layout and captions | same layout, new captions | different scenes and message |
|
| screenshots | same layout and captions | same layout, new captions | different scenes and message |
|
||||||
|
|
||||||
Total 0-10 per pair. **Below 6 against any catalogue game: stop.** 6-7: ship only with a differentiator a player can
|
Total 0-10 per pair. **Below 6 against any catalogue app: stop.** 6-7: ship only with a differentiator a user can
|
||||||
see in the first screenshot. 8+: fine.
|
see in the first screenshot. 8+: fine.
|
||||||
|
|
||||||
## Differentiator test
|
## Differentiator test
|
||||||
Write one sentence: "Unlike <our other game>, in <new game> the player <does something they cannot do there>."
|
Write one sentence: "Unlike <our other app>, in <new app> the user <does something they cannot do there>."
|
||||||
If the sentence needs the words "theme", "skin", "colours" or "levels" to work, it is not a differentiator.
|
If the sentence needs the words "theme", "skin", "colours" or "levels" to work, it is not a differentiator.
|
||||||
|
|
||||||
## When the score is low
|
## When the score is low
|
||||||
- **Merge** the idea into the existing game as a mode, world or event instead of a new app.
|
- **Merge** the idea into the existing app as a mode, feature, world or event instead of a new app.
|
||||||
- **Deepen** one axis until it scores 2 (usually mechanic or progression), not five axes a little.
|
- **Deepen** one axis until it scores 2 (usually mechanic or progression), not five axes a little.
|
||||||
- Never vary only the name, icon and keywords: reviewers compare binaries and screenshots, and that is the pattern
|
- Never vary only the name, icon and keywords: reviewers compare binaries and screenshots, and that is the pattern
|
||||||
4.3 describes.
|
4.3 describes.
|
||||||
- After a 4.3 rejection: list the concrete differences in the reply (`review-rejections`); if there are none, merge.
|
- After a 4.3 rejection: list the concrete differences in the reply (`review-rejections`); if there are none, merge.
|
||||||
|
|
||||||
## Output for the owner
|
## Output for the owner
|
||||||
A table per catalogue game with the five scores, the total, the differentiator sentence, and a recommendation:
|
A table per catalogue app with the five scores, the total, the differentiator sentence, and a recommendation:
|
||||||
ship / ship after <change> / merge into <game>.
|
ship / ship after <change> / merge into <app>.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
name: privacy-manifest
|
name: privacy-manifest
|
||||||
description: Add and check Apple privacy manifests (PrivacyInfo.xcprivacy) for an iOS game - required-reason API categories (UserDefaults, file timestamps, system boot time, disk space, active keyboards) with approved reason codes, tracking flag and domains, collected data types, and third-party SDK manifests (ad networks, analytics, Firebase, Unity, Capacitor plugins). Use when App Store Connect sends ITMS-91053 "Missing API declaration" or ITMS-91061 "Missing privacy manifest", or before submitting an iOS build.
|
description: Add and check Apple privacy manifests (PrivacyInfo.xcprivacy) for an iOS app or game - required-reason API categories (UserDefaults, file timestamps, system boot time, disk space, active keyboards) with approved reason codes, tracking flag and domains, collected data types, and third-party SDK manifests (ad networks, analytics, Firebase, Unity, Capacitor plugins). Use when App Store Connect sends ITMS-91053 "Missing API declaration" or ITMS-91061 "Missing privacy manifest", or before submitting an iOS build.
|
||||||
---
|
---
|
||||||
|
|
||||||
# Privacy manifest (iOS)
|
# Privacy manifest (iOS)
|
||||||
|
|
@ -18,20 +18,20 @@ the iOS folder: add `--sdk-dirs node_modules/@capacitor,node_modules/<plugin>`.
|
||||||
## Steps
|
## Steps
|
||||||
1. Xcode > File > New > File > App Privacy (PrivacyInfo.xcprivacy), target = the app.
|
1. Xcode > File > New > File > App Privacy (PrivacyInfo.xcprivacy), target = the app.
|
||||||
2. Run the scan. For each used category add `NSPrivacyAccessedAPITypes` > item with `NSPrivacyAccessedAPIType` and
|
2. Run the scan. For each used category add `NSPrivacyAccessedAPITypes` > item with `NSPrivacyAccessedAPIType` and
|
||||||
`NSPrivacyAccessedAPITypeReasons`. Typical for games:
|
`NSPrivacyAccessedAPITypeReasons`. Typical for apps and games:
|
||||||
- `NSPrivacyAccessedAPICategoryUserDefaults` + `CA92.1` (settings / saves read and written by the app itself;
|
- `NSPrivacyAccessedAPICategoryUserDefaults` + `CA92.1` (settings / saves read and written by the app itself;
|
||||||
Capacitor Preferences and most engines use UserDefaults)
|
Capacitor Preferences and most engines use UserDefaults)
|
||||||
- `NSPrivacyAccessedAPICategoryFileTimestamp` + `C617.1` (timestamps of files in the app container)
|
- `NSPrivacyAccessedAPICategoryFileTimestamp` + `C617.1` (timestamps of files in the app container)
|
||||||
- `NSPrivacyAccessedAPICategorySystemBootTime` + `35F9.1` (elapsed time between events)
|
- `NSPrivacyAccessedAPICategorySystemBootTime` + `35F9.1` (elapsed time between events)
|
||||||
- `NSPrivacyAccessedAPICategoryDiskSpace` + `E174.1` (check space before writing)
|
- `NSPrivacyAccessedAPICategoryDiskSpace` + `E174.1` (check space before writing)
|
||||||
Pick the reason that is true; read Apple's reason list ("Describing use of required reason API") if unsure.
|
Pick the reason that is true; read Apple's reason list ("Describing use of required reason API") if unsure.
|
||||||
3. Tracking: `NSPrivacyTracking` true only if the game tracks (ad SDK with IDFA after ATT); then list
|
3. Tracking: `NSPrivacyTracking` true only if the app tracks (ad SDK with IDFA after ATT); then list
|
||||||
`NSPrivacyTrackingDomains` the SDK docs name. Keep it consistent with App Privacy "used for tracking" and the ATT
|
`NSPrivacyTrackingDomains` the SDK docs name. Keep it consistent with App Privacy "used for tracking" and the ATT
|
||||||
prompt (`store-declarations`).
|
prompt (`store-declarations`).
|
||||||
4. `NSPrivacyCollectedDataTypes`: what the app itself collects; SDK manifests cover their own collection. Xcode's
|
4. `NSPrivacyCollectedDataTypes`: what the app itself collects; SDK manifests cover their own collection. Xcode's
|
||||||
Privacy Report (Product > Archive > Generate Privacy Report) merges all manifests; compare it with App Privacy.
|
Privacy Report (Product > Archive > Generate Privacy Report) merges all manifests; compare it with App Privacy.
|
||||||
5. SDKs flagged "ships no PrivacyInfo.xcprivacy": update to a version that has one (ad networks and mediation
|
5. SDKs flagged "ships no PrivacyInfo.xcprivacy": update to a version that has one (ad networks and mediation
|
||||||
adapters added manifests in 2024 releases; see `ads-levelplay-checks` for adapter / SDK version pairs).
|
adapters added manifests in 2024 releases; see `ads-mediation-checks` for adapter / SDK version pairs).
|
||||||
6. Re-run the scan, archive, upload; Apple's email lists any remaining ITMS-910xx issue per framework.
|
6. Re-run the scan, archive, upload; Apple's email lists any remaining ITMS-910xx issue per framework.
|
||||||
|
|
||||||
## Gotchas
|
## Gotchas
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
name: privacy-policy
|
name: privacy-policy
|
||||||
description: Write and host one studio-wide privacy policy page for all of a developer's mobile games - a per-game services table (analytics, ads, server, purchases), children, retention and contact sections, linked from both store listings and inside each game. Use when the user needs a privacy policy, privacy URL for Google Play / App Store, or must update the policy after adding an SDK.
|
description: Write and host one studio-wide privacy policy page for all of a developer's mobile apps and games - a per-app services table (analytics, ads, server, purchases), children, retention and contact sections, linked from both store listings and inside each app. Use when the user needs a privacy policy, privacy URL for Google Play / App Store, or must update the policy after adding an SDK.
|
||||||
---
|
---
|
||||||
|
|
||||||
# Studio-wide privacy policy
|
# Studio-wide privacy policy
|
||||||
|
|
@ -9,23 +9,24 @@ Template: `store/privacy-policy.html` (from `storebound init`, or `templates/pri
|
||||||
A single static page, light/dark, mobile friendly, English + a second language section.
|
A single static page, light/dark, mobile friendly, English + a second language section.
|
||||||
|
|
||||||
## Steps
|
## Steps
|
||||||
1. **One page for the studio, one row per game and service.** Columns: game, service (analytics, ad mediation +
|
1. **One page for the developer, one row per app and service.** Columns: app, service (analytics, ad mediation +
|
||||||
networks, your server, app stores), what data and why, the player's choice (in-game switch, ATT prompt, OS ad
|
networks, your server or backend, sign-in provider, app stores), what data and why, the user's choice (in-app switch,
|
||||||
settings, "remove ads"). Remove what you do not use; never list services you do not ship.
|
ATT prompt, OS ad settings, "remove ads", deleting the account). Remove what you do not use; never list services you do not ship.
|
||||||
2. Sections to keep: what we use (table), children (general audience, not directed at under 13 unless you really are
|
2. Sections to keep: what we use (table), children (general audience, not directed at under 13 unless you really are
|
||||||
a kids app), retention and rights (how to request a copy / deletion, response time), security (HTTPS), changes
|
a kids app), retention and rights (how to request a copy / deletion, response time; with accounts: how to delete the account,
|
||||||
|
in the app and on the web, see the `account-deletion` skill), security (HTTPS), changes
|
||||||
(date at the top), contact email.
|
(date at the top), contact email.
|
||||||
3. **Host** it at a stable URL on your developer website, the same domain that serves `app-ads.txt` and is named as
|
3. **Host** it at a stable URL on your developer website, the same domain that serves `app-ads.txt` and is named as
|
||||||
website in both listings (e.g. `https://example.com/privacy`). Any static host works.
|
website in both listings (e.g. `https://example.com/privacy`). Any static host works.
|
||||||
4. **Link it everywhere**: `app.privacyPolicyUrl` in `storebound.config.ts` (pushed by `storebound apple listing`), Play
|
4. **Link it everywhere**: `app.privacyPolicyUrl` in `storebound.config.ts` (pushed by `storebound apple listing`), Play
|
||||||
Console > App content > Privacy policy, and **inside the game** (Settings > Privacy opens the URL): App Store
|
Console > App content > Privacy policy, and **inside the app** (Settings > Privacy opens the URL): App Store
|
||||||
guideline 5.1.1 requires the in-app link.
|
guideline 5.1.1 requires the in-app link.
|
||||||
5. **Verify**: the URL answers 200 over HTTPS without login or cookie wall, the table matches the Data safety /
|
5. **Verify**: the URL answers 200 over HTTPS without login or cookie wall, the table matches the Data safety /
|
||||||
App Privacy answers (`store-declarations` skill), the date is current.
|
App Privacy answers (`store-declarations` skill), the date is current.
|
||||||
|
|
||||||
## Gotchas
|
## Gotchas
|
||||||
- Update the policy first, then the store forms, whenever a game adds an SDK or starts storing something new.
|
- Update the policy first, then the store forms, whenever an app adds an SDK or starts storing something new.
|
||||||
- The policy must not be a PDF or a Google Doc behind a login; a plain page is safest for review.
|
- The policy must not be a PDF or a Google Doc behind a login; a plain page is safest for review.
|
||||||
- Do not put a personal address or private email in it; use a studio contact address.
|
- Do not put a personal address or private email in it; use a studio contact address.
|
||||||
- If a game uses ads in the EU / EEA / UK / CH, say how consent works (CMP or non-personalized ads).
|
- If an app uses ads in the EU / EEA / UK / CH, say how consent works (CMP or non-personalized ads).
|
||||||
- This template is a starting point, not legal advice.
|
- This template is a starting point, not legal advice.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
name: review-rejections
|
name: review-rejections
|
||||||
description: Triage and answer an App Store or Google Play rejection, policy warning or strike for a mobile game - decide fix / clarify / push back / appeal, write a short Resolution Center reply, and map the message to the usual guidelines (Apple 2.1, 2.3, 3.1.1, 4.2, 4.3, 5.1.1, 5.1.2, privacy label mismatch; Play Data safety mismatch, disruptive ads, Families, strikes and appeals). Use when the user pastes a rejection or policy email, an update is "Rejected" / "Metadata Rejected", or Play Console shows a policy issue.
|
description: Triage and answer an App Store or Google Play rejection, policy warning or strike for a mobile app or game - decide fix / clarify / push back / appeal, write a short Resolution Center reply, and map the message to the usual guidelines (Apple 2.1, 2.3, 3.1.1, 4.2, 4.3, 5.1.1, 5.1.2, privacy label mismatch; Play Data safety mismatch, disruptive ads, Families, strikes and appeals). Use when the user pastes a rejection or policy email, an update is "Rejected" / "Metadata Rejected", or Play Console shows a policy issue.
|
||||||
---
|
---
|
||||||
|
|
||||||
# Review rejections and policy issues
|
# Review rejections and policy issues
|
||||||
|
|
@ -13,7 +13,7 @@ they turn a rejection into an account termination.
|
||||||
## 1. Triage (pick one, say why)
|
## 1. Triage (pick one, say why)
|
||||||
| route | when | what you do |
|
| route | when | what you do |
|
||||||
|---|---|---|
|
|---|---|---|
|
||||||
| **Fix** | the reviewer is right (crash, missing restore button, wrong label) | change the game / metadata, resubmit, reply what changed |
|
| **Fix** | the reviewer is right (crash, missing restore button, wrong label) | change the app / metadata, resubmit, reply what changed |
|
||||||
| **Clarify** | the feature exists but the reviewer did not find it, or misread it | reply with exact steps / a video link; no new build if nothing changed |
|
| **Clarify** | the feature exists but the reviewer did not find it, or misread it | reply with exact steps / a video link; no new build if nothing changed |
|
||||||
| **Push back** | the guideline does not apply, with a concrete reason | short factual reply quoting the guideline text; offer a call |
|
| **Push back** | the guideline does not apply, with a concrete reason | short factual reply quoting the guideline text; offer a call |
|
||||||
| **Appeal** | a clarification was rejected and you still believe it complies | Apple: App Review Board appeal form; Play: the appeal form linked from the notice |
|
| **Appeal** | a clarification was rejected and you still believe it complies | Apple: App Review Board appeal form; Play: the appeal form linked from the notice |
|
||||||
|
|
@ -33,20 +33,27 @@ Happy to clarify anything else.
|
||||||
```
|
```
|
||||||
Plain, polite, specific; one guideline per paragraph; no blame, no threats, no "other apps do it".
|
Plain, polite, specific; one guideline per paragraph; no blame, no threats, no "other apps do it".
|
||||||
|
|
||||||
## 3. Apple guidelines games hit most
|
## 3. Apple guidelines apps and games hit most
|
||||||
- **2.1 App completeness**: crash on launch / during review (check the crash log in the message, test the review
|
- **2.1 App completeness**: crash on launch / during review (check the crash log in the message, test the review
|
||||||
device class and OS), placeholder text or art, broken links, IAPs not working in the sandbox (Paid Apps agreement
|
device class and OS), placeholder text or art, broken links, IAPs not working in the sandbox (Paid Apps agreement
|
||||||
active? products READY_TO_SUBMIT and in the same submission?), features behind a login without a demo account.
|
active? products READY_TO_SUBMIT and in the same submission?), features behind a login without a demo
|
||||||
- **2.3 Accurate metadata**: screenshots must show the real game; no prices, no "free" claims for paid items, no other
|
account (`review-access` skill: demo account in `.storebound/credentials.json`, `storebound apple review-details`
|
||||||
platforms' UI; keywords without competitor names; age rating answers that match the content.
|
sends it).
|
||||||
|
- **2.3 Accurate metadata**: screenshots must show the real app (for a game: real gameplay); no prices, no "free"
|
||||||
|
claims for paid items, no other platforms' UI; keywords without competitor names; age rating answers that match
|
||||||
|
the content.
|
||||||
- **3.1.1 In-app purchase**: digital goods only through IAP; a visible **Restore Purchases** for non-consumables;
|
- **3.1.1 In-app purchase**: digital goods only through IAP; a visible **Restore Purchases** for non-consumables;
|
||||||
no links to outside payment; loot boxes must show odds.
|
no links to outside payment; loot boxes must show odds.
|
||||||
- **4.2 Minimum functionality**: a thin game (one screen, a tutorial-level loop) or a web wrapper. Add depth: levels,
|
- **3.1.2 Subscriptions**: the purchase screen shows title, length, price per period and what the user gets; links to
|
||||||
progression, offline play, native feel. Explain what the player does in the notes.
|
the privacy policy and the Terms of Use (EULA) in the app and in the metadata; free trial terms clear. See
|
||||||
|
`store-subscriptions`.
|
||||||
|
- **4.2 Minimum functionality**: a thin app (one screen, a tutorial-level loop) or a web wrapper. Add depth (for a game:
|
||||||
|
levels, progression, offline play; for an app: native features, offline use, real utility). Explain what the user
|
||||||
|
does in the notes.
|
||||||
- **4.3 Spam**: too similar to your own or others' apps (same template, reskins). See `portfolio-originality`; merge
|
- **4.3 Spam**: too similar to your own or others' apps (same template, reskins). See `portfolio-originality`; merge
|
||||||
ideas instead of shipping near-duplicates. Hard to appeal without real differences.
|
ideas instead of shipping near-duplicates. Hard to appeal without real differences.
|
||||||
- **5.1.1 Data collection**: privacy policy link in the listing **and inside the game**; only collect what you need;
|
- **5.1.1 Data collection**: privacy policy link in the listing **and inside the app**; only collect what you need;
|
||||||
account deletion in-app if you have accounts.
|
account deletion in-app if you have accounts (5.1.1(v), `account-deletion` skill).
|
||||||
- **5.1.2 Data use / ATT**: the App Tracking Transparency prompt before any tracking SDK reads the IDFA, a purpose string
|
- **5.1.2 Data use / ATT**: the App Tracking Transparency prompt before any tracking SDK reads the IDFA, a purpose string
|
||||||
that says why, no incentive or pressure to allow, no tracking when denied.
|
that says why, no incentive or pressure to allow, no tracking when denied.
|
||||||
- **Privacy label mismatch**: App Privacy must match what the SDKs really collect (ads / analytics SDK docs list it).
|
- **Privacy label mismatch**: App Privacy must match what the SDKs really collect (ads / analytics SDK docs list it).
|
||||||
|
|
@ -58,7 +65,7 @@ Plain, polite, specific; one guideline per paragraph; no blame, no threats, no "
|
||||||
- **Ads policy / disruptive ads**: no interstitials at launch, on exit or mid-gameplay; close buttons visible; rewarded
|
- **Ads policy / disruptive ads**: no interstitials at launch, on exit or mid-gameplay; close buttons visible; rewarded
|
||||||
ads only opt-in. Ads must not imitate system UI.
|
ads only opt-in. Ads must not imitate system UI.
|
||||||
- **Families**: if the target audience includes children, only Families-certified ad SDKs, no ad id, teacher-approved
|
- **Families**: if the target audience includes children, only Families-certified ad SDKs, no ad id, teacher-approved
|
||||||
rules. If the game is not for children, make sure store art and the target audience form say so.
|
rules. If the app is not for children, make sure store art and the target audience form say so.
|
||||||
- **Metadata**: no keyword stuffing, no "best/#1", no unrelated keywords (`aso-basics`).
|
- **Metadata**: no keyword stuffing, no "best/#1", no unrelated keywords (`aso-basics`).
|
||||||
- **Strikes and suspensions**: one policy strike affects the account; repeated strikes can terminate it. Fix first,
|
- **Strikes and suspensions**: one policy strike affects the account; repeated strikes can terminate it. Fix first,
|
||||||
then appeal from the notice with the change described. Do not upload the same app under a new package to dodge it.
|
then appeal from the notice with the change described. Do not upload the same app under a new package to dodge it.
|
||||||
|
|
@ -66,4 +73,4 @@ Plain, polite, specific; one guideline per paragraph; no blame, no threats, no "
|
||||||
|
|
||||||
## 5. After sending
|
## 5. After sending
|
||||||
- `storebound apple status --wait-review` (exit 0 approved, 1 rejected, 7 timeout) or `storebound play status`.
|
- `storebound apple status --wait-review` (exit 0 approved, 1 rejected, 7 timeout) or `storebound play status`.
|
||||||
- Write down guideline, cause and fix in the project's docs so the next game does not repeat it.
|
- Write down guideline, cause and fix in the project's docs so the next app does not repeat it.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
name: review-replies
|
name: review-replies
|
||||||
description: Reply to App Store and Google Play reviews of a mobile game the safe way - list new reviews, write reply drafts into local files (.storebound/replies), keep the tone human and short, never offer incentives or ask for a better rating, respect the store limits (Play 350 characters), and send only drafts the owner approved. Use when the user asks to answer reviews, handle bad ratings, or check what players are saying.
|
description: Reply to App Store and Google Play reviews of a mobile app or game the safe way - list new reviews, write reply drafts into local files (.storebound/replies), keep the tone human and short, never offer incentives or ask for a better rating, respect the store limits (Play 350 characters), and send only drafts the owner approved. Use when the user asks to answer reviews, handle bad ratings, or check what players are saying.
|
||||||
---
|
---
|
||||||
|
|
||||||
# Review replies
|
# Review replies
|
||||||
|
|
@ -25,7 +25,7 @@ tool, and an agent never sets `approved: true` by itself.
|
||||||
- **Short and specific**: thank them in one line, answer the actual point, say what changed or what to do. Play
|
- **Short and specific**: thank them in one line, answer the actual point, say what changed or what to do. Play
|
||||||
allows **350 characters** (HTML is stripped); App Store replies can be longer but rarely should be.
|
allows **350 characters** (HTML is stripped); App Store replies can be longer but rarely should be.
|
||||||
- **Bug reports**: name the fix and the version if it is released ("Version 1.2.1 fixes the crash on level 3"); if
|
- **Bug reports**: name the fix and the version if it is released ("Version 1.2.1 fixes the crash on level 3"); if
|
||||||
not, say it is known and being worked on, without dates you cannot keep. Point to in-game Settings > Support or the
|
not, say it is known and being worked on, without dates you cannot keep. Point to in-app Settings > Support or the
|
||||||
public support page for details.
|
public support page for details.
|
||||||
- **Ads / difficulty / price complaints**: explain the option that exists (e.g. "Remove Ads" in the shop, a setting),
|
- **Ads / difficulty / price complaints**: explain the option that exists (e.g. "Remove Ads" in the shop, a setting),
|
||||||
no argument, no blame.
|
no argument, no blame.
|
||||||
|
|
@ -39,9 +39,9 @@ tool, and an agent never sets `approved: true` by itself.
|
||||||
(Play Console Help, "User Ratings, Reviews, and Installs", answer 9898684); Apple removes apps that manipulate
|
(Play Console Help, "User Ratings, Reviews, and Installs", answer 9898684); Apple removes apps that manipulate
|
||||||
reviews or ratings (App Review Guidelines, Developer Code of Conduct). `reviews send` refuses replies that match
|
reviews or ratings (App Review Guidelines, Developer Code of Conduct). `reviews send` refuses replies that match
|
||||||
these patterns.
|
these patterns.
|
||||||
- **No personal data**: no player names beyond what the store shows, no emails or phone numbers of players, no
|
- **No personal data**: no user names beyond what the store shows, no emails or phone numbers of users, no
|
||||||
account details. Your public support address is fine.
|
account details. Your public support address is fine.
|
||||||
- **No marketing or spam**: no promo codes, no links to other games, no all-caps or "!!!" (Apple's guidance:
|
- **No marketing or spam**: no promo codes, no links to other apps or games, no all-caps or "!!!" (Apple's guidance:
|
||||||
https://developer.apple.com/app-store/responding-to-reviews/).
|
https://developer.apple.com/app-store/responding-to-reviews/).
|
||||||
- **No arguing or disclosing**: do not dispute facts publicly, do not reveal internal plans, cheats or how anti-cheat
|
- **No arguing or disclosing**: do not dispute facts publicly, do not reveal internal plans, cheats or how anti-cheat
|
||||||
works. Hostile or abusive reviews: skip or keep it to one polite line; report policy-violating reviews in the console.
|
works. Hostile or abusive reviews: skip or keep it to one polite line; report policy-violating reviews in the console.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
name: store-analytics
|
name: store-analytics
|
||||||
description: Take store analytics snapshots for a mobile game (App Store impressions, product page views, downloads and conversion through the Analytics Reports API; Google Play store listing visitors, acquisitions and installs from the Play reports bucket) and compare them with listing, screenshot and experiment changes from git. Use when the user asks whether a listing change, new screenshots or a store experiment worked, wants install / conversion numbers, or sets up store reporting.
|
description: Take store analytics snapshots for a mobile app or game (App Store impressions, product page views, downloads and conversion through the Analytics Reports API; Google Play store listing visitors, acquisitions and installs from the Play reports bucket) and compare them with listing, screenshot and experiment changes from git. Use when the user asks whether a listing change, new screenshots or a store experiment worked, wants install / conversion numbers, or sets up store reporting.
|
||||||
---
|
---
|
||||||
|
|
||||||
# Store analytics
|
# Store analytics
|
||||||
|
|
@ -36,7 +36,7 @@ CLI: `storebound analytics setup | snapshot | compare`. MCP: `analytics_snapshot
|
||||||
readable.
|
readable.
|
||||||
4. `storebound analytics compare` (or `--md` for a report): for every commit that touched the store files, daily
|
4. `storebound analytics compare` (or `--md` for a report): for every commit that touched the store files, daily
|
||||||
impressions (App Store) or visitors (Play) and conversion in the 7 days before vs the 7 days from the change
|
impressions (App Store) or visitors (Play) and conversion in the 7 days before vs the 7 days from the change
|
||||||
(`--days 14` for small games).
|
(`--days 14` for small apps).
|
||||||
|
|
||||||
## Read it honestly
|
## Read it honestly
|
||||||
- Small numbers swing: under a few hundred page views a week, a 20 % change is noise. Say so.
|
- Small numbers swing: under a few hundred page views a week, a 20 % change is noise. Say so.
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,17 @@
|
||||||
---
|
---
|
||||||
name: store-declarations
|
name: store-declarations
|
||||||
description: Answer the store compliance forms for a mobile game - Google Play Data safety (API CSV), App content declarations (ads, app access, content rating IARC, target audience, advertising ID, government/financial/health/news), App Store App Privacy nutrition labels, age rating, export compliance. Use when the user fills in data safety, privacy labels, content rating, target audience, ads or advertising ID declarations, or gets Data safety CSV import errors.
|
description: Answer the store compliance forms for a mobile app or game - Google Play Data safety (API CSV), App content declarations (ads, app access, content rating IARC, target audience, advertising ID, government/financial/health/news), App Store App Privacy nutrition labels, age rating, export compliance. Use when the user fills in data safety, privacy labels, content rating, target audience, ads or advertising ID declarations, or gets Data safety CSV import errors.
|
||||||
---
|
---
|
||||||
|
|
||||||
# Store declarations
|
# Store declarations
|
||||||
|
|
||||||
Templates: `store/declarations.md` (Play App content + IARC answers), `store/app-privacy.md` (Apple labels), both
|
Templates: `store/declarations.md` (Play App content + IARC answers), `store/app-privacy.md` (Apple labels), both
|
||||||
from `storebound init`. Data safety answers live in `dataSafety` of `storebound.config.ts`.
|
from `storebound init --profile app|game|subscription-app` (default `app`). They are honest starting points for a
|
||||||
|
typical app of that kind, not your answers: edit every line to match what your app really does. Data safety answers live in `dataSafety` of `storebound.config.ts`.
|
||||||
CLI: `storebound` (or `bunx storebound` in a project that has it, or `bun <toolchain>/cli/index.ts`).
|
CLI: `storebound` (or `bunx storebound` in a project that has it, or `bun <toolchain>/cli/index.ts`).
|
||||||
|
|
||||||
## Order
|
## Order
|
||||||
1. **Inventory first.** List every SDK and server call: what leaves the device, who receives it, can the player turn
|
1. **Inventory first.** List every SDK and server call: what leaves the device, who receives it, can the user turn
|
||||||
it off. The privacy policy (`privacy-policy` skill) must say the same; update it before the forms.
|
it off. The privacy policy (`privacy-policy` skill) must say the same; update it before the forms.
|
||||||
2. **Play Data safety (API).** Fill `dataSafety` (types not listed = not collected; `shared` = third party that is not
|
2. **Play Data safety (API).** Fill `dataSafety` (types not listed = not collected; `shared` = third party that is not
|
||||||
your service provider, e.g. ad networks; analytics vendors acting as processors are "collected" only).
|
your service provider, e.g. ad networks; analytics vendors acting as processors are "collected" only).
|
||||||
|
|
@ -25,12 +26,23 @@ CLI: `storebound` (or `bunx storebound` in a project that has it, or `bun <toolc
|
||||||
6. **Export compliance.** `export-compliance` skill (`ITSAppUsesNonExemptEncryption` in Info.plist, `apple encryption`).
|
6. **Export compliance.** `export-compliance` skill (`ITSAppUsesNonExemptEncryption` in Info.plist, `apple encryption`).
|
||||||
7. **Privacy manifest (iOS).** `privacy-manifest` skill; keep it consistent with App Privacy.
|
7. **Privacy manifest (iOS).** `privacy-manifest` skill; keep it consistent with App Privacy.
|
||||||
|
|
||||||
## Typical F2P game with ads + IAP (no accounts)
|
## Typical answers per profile (starting points, edit to match your app)
|
||||||
Data safety: approximate location (IP country; shared, analytics + ads + fraud), app interactions (shared, analytics +
|
- **app** (utility / productivity, optional account, analytics, no ads): Data safety: email + user ids (account,
|
||||||
ads), other app activity (save backup, functionality), diagnostics (shared), device or other IDs (shared, ad id),
|
collected, functionality + account management), app interactions and diagnostics (analytics SDK as your processor:
|
||||||
purchase history (if your server checks receipts). Encrypted in transit: yes. Deletion: yes, by email. Account
|
collected, not shared), crash logs. Encrypted in transit: yes. Deletion: yes (in the app and on the web, see
|
||||||
creation: none. IARC: everything No except digital purchases Yes; target audience 13+; ads Yes; advertising ID yes
|
`account-deletion`). Account creation: the methods you offer (e.g. `PSL_ACM_USER_ID_PASSWORD`, `PSL_ACM_OAUTH`).
|
||||||
(advertising, analytics, fraud prevention); sign-in details: no login needed.
|
Ads: No. Advertising ID: No (unless an SDK reads it). App access: sign-in needed, demo account given
|
||||||
|
(`review-access`). IARC category: not a game (utility, productivity, communication or social, reference ...).
|
||||||
|
Apple: Contact Info > Email Address and Identifiers > User ID are linked to the user (account), not used for tracking.
|
||||||
|
- **subscription-app**: as `app`, plus Purchases > Purchase History (linked, App Functionality) and Play
|
||||||
|
`PSL_PURCHASE_HISTORY` (collected, functionality). IARC: digital purchases Yes. App Review: subscriptions and their
|
||||||
|
disclosure (`store-subscriptions`).
|
||||||
|
- **game** (single-player free-to-play with ads + IAP, no accounts): approximate location (IP country; shared,
|
||||||
|
analytics + ads + fraud), app interactions (shared, analytics + ads), other app activity (save backup,
|
||||||
|
functionality), diagnostics (shared), device or other IDs (shared, ad id), purchase history (if your server checks
|
||||||
|
receipts). Encrypted in transit: yes. Deletion: yes, by email. Account creation: none. IARC (for games): everything
|
||||||
|
No except digital purchases Yes; target audience 13+; ads Yes; advertising ID yes (advertising, analytics, fraud
|
||||||
|
prevention); sign-in details: no login needed.
|
||||||
|
|
||||||
## Gotchas
|
## Gotchas
|
||||||
- The Data safety CSV import **replaces** the whole form.
|
- The Data safety CSV import **replaces** the whole form.
|
||||||
|
|
@ -39,6 +51,9 @@ creation: none. IARC: everything No except digital purchases Yes; target audienc
|
||||||
- "Optional" data is only allowed when the user can really choose for that data; otherwise required.
|
- "Optional" data is only allowed when the user can really choose for that data; otherwise required.
|
||||||
- Ads SDKs: read each network's own Play data safety guidance; adding a network can add data types.
|
- Ads SDKs: read each network's own Play data safety guidance; adding a network can add data types.
|
||||||
- Target audience under 13 pulls the app into the Families policy (certified ad networks, no ad id): only if true.
|
- Target audience under 13 pulls the app into the Families policy (certified ad networks, no ad id): only if true.
|
||||||
- Apple: "linked to the user" is No when there are no accounts and nothing ties data to a name / email / phone.
|
- Apple: "linked to the user" is No when there are no accounts and nothing ties data to a name / email / phone;
|
||||||
|
with accounts, what you store under the account is linked.
|
||||||
|
- Accounts: Play asks for a delete-account URL in Data safety and Apple wants deletion inside the app
|
||||||
|
(`account-deletion` skill).
|
||||||
- App Privacy saved but not published = not submitted.
|
- App Privacy saved but not published = not submitted.
|
||||||
- Keep store answers, the privacy policy and the in-app privacy settings consistent; reviewers compare them.
|
- Keep store answers, the privacy policy and the in-app privacy settings consistent; reviewers compare them.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
name: store-health
|
name: store-health
|
||||||
description: Watch a released mobile game's crash and ANR health on both stores - Google Play Android vitals (user-perceived crash rate 1.09 % and ANR rate 0.47 % bad behavior thresholds, 8 % per device model) through the Play Developer Reporting API, App Store power and performance metrics, diagnostic signatures and TestFlight crash reports, a weekly Markdown report, and validate blockers when a threshold is crossed. Use when the user asks about crashes, ANRs, vitals, stability, a weekly health check, or why Play shows a quality warning.
|
description: Watch a released mobile app's or game's crash and ANR health on both stores - Google Play Android vitals (user-perceived crash rate 1.09 % and ANR rate 0.47 % bad behavior thresholds, 8 % per device model) through the Play Developer Reporting API, App Store power and performance metrics, diagnostic signatures and TestFlight crash reports, a weekly Markdown report, and validate blockers when a threshold is crossed. Use when the user asks about crashes, ANRs, vitals, stability, a weekly health check, or why Play shows a quality warning.
|
||||||
---
|
---
|
||||||
|
|
||||||
# Store health (crashes, ANRs, diagnostics)
|
# Store health (crashes, ANRs, diagnostics)
|
||||||
|
|
@ -15,13 +15,13 @@ instead). `storebound validate` runs the same checks for live apps. MCP: `health
|
||||||
needs **View app information (read-only)** for the app. Scope used: `playdeveloperreporting`. Reference:
|
needs **View app information (read-only)** for the app. Scope used: `playdeveloperreporting`. Reference:
|
||||||
https://developers.google.com/play/developer/reporting/reference/rest
|
https://developers.google.com/play/developer/reporting/reference/rest
|
||||||
- **App Store**: the API key that storebound already uses (Admin, App Manager or Developer role reads metrics).
|
- **App Store**: the API key that storebound already uses (Admin, App Manager or Developer role reads metrics).
|
||||||
Metrics come from users who share analytics with developers; small games may show none.
|
Metrics come from users who share analytics with developers; small apps may show none.
|
||||||
|
|
||||||
## Read the numbers
|
## Read the numbers
|
||||||
- **Play bad behavior thresholds** (28-day average, user-perceived, checked daily; sources:
|
- **Play bad behavior thresholds** (28-day average, user-perceived, checked daily; sources:
|
||||||
https://developer.android.com/topic/performance/vitals and Play Console Help answer 9844486):
|
https://developer.android.com/topic/performance/vitals and Play Console Help answer 9844486):
|
||||||
user-perceived crash rate **1.09 %**, user-perceived ANR rate **0.47 %**, and **8 %** on any single phone model.
|
user-perceived crash rate **1.09 %**, user-perceived ANR rate **0.47 %**, and **8 %** on any single phone model.
|
||||||
Over a threshold, Play can lower the game's visibility and show a warning on its store listing. storebound marks
|
Over a threshold, Play can lower the app's visibility and show a warning on its store listing. storebound marks
|
||||||
over = blocker, from 80 % of a threshold = warn.
|
over = blocker, from 80 % of a threshold = warn.
|
||||||
- Daily values swing on small user counts; the 28-day user-weighted rate is what Play judges. Device rows with fewer
|
- Daily values swing on small user counts; the 28-day user-weighted rate is what Play judges. Device rows with fewer
|
||||||
than 500 users are ignored.
|
than 500 users are ignored.
|
||||||
|
|
@ -43,6 +43,6 @@ instead). `storebound validate` runs the same checks for live apps. MCP: `health
|
||||||
- storebound reads the Reporting API rates as fractions (0.0109 = 1.09 %). The API reference calls them a
|
- storebound reads the Reporting API rates as fractions (0.0109 = 1.09 %). The API reference calls them a
|
||||||
"percentage of distinct users" without stating the scale (not verified against a live response yet): the first
|
"percentage of distinct users" without stating the scale (not verified against a live response yet): the first
|
||||||
time, compare one number with Play Console > Android vitals and report a mismatch.
|
time, compare one number with Play Console > Android vitals and report a mismatch.
|
||||||
- Never share crash logs that contain player data outside the team; never paste tester emails from TestFlight crash
|
- Never share crash logs that contain user data outside the team; never paste tester emails from TestFlight crash
|
||||||
reports into chats or issues.
|
reports into chats or issues.
|
||||||
- Nothing here changes the store: it is safe to run any time.
|
- Nothing here changes the store: it is safe to run any time.
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,24 @@
|
||||||
---
|
---
|
||||||
name: store-iap-setup
|
name: store-iap-setup
|
||||||
description: Create and price in-app purchases (consumables, non-consumables like "remove ads", coin/gem packs, starter packs) on Google Play and App Store Connect from one product list - regional prices, local overrides, a price sheet CSV for many products and regions (diff first, future-dated App Store changes), activation, review screenshots, submitting first IAPs with a version, license/sandbox testers. Use when the user sets up, prices, re-prices or tests in-app products/IAPs, or hits Play onetimeproducts / inappproducts 403 or App Store IAP submission errors.
|
description: Create and price in-app purchases (consumables, non-consumables like "remove ads" or a Pro unlock, non-renewing passes, coin/gem packs, starter packs) on Google Play and App Store Connect from one product list - regional prices, local overrides, a price sheet CSV for many products and regions (diff first, future-dated App Store changes), activation, review screenshots, submitting first IAPs with a version, license/sandbox testers. Use when the user sets up, prices, re-prices or tests in-app products/IAPs, checks that both stores match (catalog diff), or hits Play onetimeproducts / inappproducts 403 or App Store IAP submission errors.
|
||||||
---
|
---
|
||||||
|
|
||||||
# In-app purchases on both stores
|
# In-app purchases on both stores
|
||||||
|
|
||||||
CLI: `storebound` (or `bunx storebound` in a project that has it, or `bun <toolchain>/cli/index.ts`). One list in `storebound.config.ts` `products[]` drives
|
CLI: `storebound` (or `bunx storebound` in a project that has it, or `bun <toolchain>/cli/index.ts`). One list in `storebound.config.ts` `products[]` drives
|
||||||
both stores: `id` (same on both), `type` (consumable | non_consumable), `usd` base price, optional `overrides`
|
both stores: `id` (same on both), `type` (consumable | non_consumable | non_renewing), `usd` base price, optional
|
||||||
(`{ region: 'TR', currency: 'TRY', price: 99.99 }`), `listings` per language (title <= 30, description <= 45 for
|
`overrides` (`{ region: 'TR', currency: 'TRY', price: 99.99 }`), `listings` per language (title <= 30, description <=
|
||||||
Apple), `reviewScreenshot`.
|
45 for Apple), `reviewScreenshot`, optional `platforms: ['ios']` / `['android']` to sell it on one store only.
|
||||||
|
Auto-renewable subscriptions are a separate list (`subscriptions`, `store-subscriptions` skill).
|
||||||
|
- `non_renewing`: Apple NON_RENEWING_SUBSCRIPTION (access for a fixed time; your app tracks the expiry and offers
|
||||||
|
restore through your account system). Google Play has no such type: storebound makes it a one-time product your
|
||||||
|
app consumes when the access ends (or model it as a prepaid base plan in Play Console).
|
||||||
|
- Cross-store parity: `storebound catalog diff` (MCP `catalog_diff`, read-only) compares the config with both stores:
|
||||||
|
missing / extra products, type, US and override prices, localizations, and regions where the two stores price the
|
||||||
|
same product more than 10 % apart (`--threshold`).
|
||||||
|
- Offer codes for one-time products exist on the App Store API (`inAppPurchaseOfferCodes`); storebound does not
|
||||||
|
create them yet (App Store Connect > the IAP > Offer Codes). Play promo codes have no API (Play Console > Monetize >
|
||||||
|
Promo codes).
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
- Play: a build with `com.android.vending.BILLING` uploaded to any track; payments profile set up.
|
- Play: a build with `com.android.vending.BILLING` uploaded to any track; payments profile set up.
|
||||||
|
|
@ -49,7 +59,9 @@ App Store only, a future YYYY-MM-DD).
|
||||||
without one follow Apple's equalization). Play: the purchase option's regional prices are replaced; regions the
|
without one follow Apple's equalization). Play: the purchase option's regional prices are replaced; regions the
|
||||||
product has no price for get `convertRegionPrices` from the USD base, `--reconvert` resets every region the CSV
|
product has no price for get `convertRegionPrices` from the USD base, `--reconvert` resets every region the CSV
|
||||||
does not list.
|
does not list.
|
||||||
- Future-dated changes (`start_date`) are App Store only; Play has no scheduled prices (change them on the day).
|
- Future-dated changes (`start_date`) are App Store only; Play has no scheduled prices (change them on the day). The
|
||||||
|
same CSV feeds subscription prices: `storebound apple subscriptions --csv store/prices.csv` (dated rows become
|
||||||
|
scheduled subscription price changes) and `storebound play subscriptions --csv store/prices.csv`.
|
||||||
- Apple's IAP pricing guide warns that a price **increase cannot be reverted** once it is in effect: tell the owner.
|
- Apple's IAP pricing guide warns that a price **increase cannot be reverted** once it is in effect: tell the owner.
|
||||||
- Prices are public the moment the stores apply them. Never import without the owner reading the diff.
|
- Prices are public the moment the stores apply them. Never import without the owner reading the diff.
|
||||||
|
|
||||||
|
|
@ -72,5 +84,5 @@ App Store only, a future YYYY-MM-DD).
|
||||||
purchase information"; an older App Store marketing page says 55, but App Store Connect enforces 45).
|
purchase information"; an older App Store marketing page says 55, but App Store Connect enforces 45).
|
||||||
- Product ids can never be reused after deletion on either store. Never delete without the owner.
|
- Product ids can never be reused after deletion on either store. Never delete without the owner.
|
||||||
- Do not put prices or product names in store descriptions; say "offers optional in-app purchases".
|
- Do not put prices or product names in store descriptions; say "offers optional in-app purchases".
|
||||||
- If the game ships without real billing yet, hide every purchase surface in store builds (review rejects mock
|
- If the app ships without real billing yet, hide every purchase surface in store builds (review rejects mock
|
||||||
purchases) and answer "digital purchases: No" in IARC.
|
purchases) and answer "digital purchases: No" in IARC.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
name: store-preflight
|
name: store-preflight
|
||||||
description: Run and read the storebound readiness checks before submitting a mobile game - `storebound check` (offline config, copy limits, files), `storebound check --aso`, `storebound validate` (read-only App Store Connect + Google Play report with ordered blockers) and `storebound privacy-manifest`. Use before every submission, when the user asks "is my app ready to submit", or after changing listings, builds, IAPs or SDKs.
|
description: Run and read the storebound readiness checks before submitting a mobile app or game - `storebound check` (offline config, copy limits, files), `storebound check --aso`, `storebound validate` (read-only App Store Connect + Google Play report with ordered blockers) and `storebound privacy-manifest`. Use before every submission, when the user asks "is my app ready to submit", or after changing listings, builds, IAPs or SDKs.
|
||||||
---
|
---
|
||||||
|
|
||||||
# Store preflight
|
# Store preflight
|
||||||
|
|
@ -11,12 +11,16 @@ the stores; run them freely.
|
||||||
## Order
|
## Order
|
||||||
1. `storebound check`: config, both listing files (limits are checked locally: title 30, subtitle 30, keywords 100
|
1. `storebound check`: config, both listing files (limits are checked locally: title 30, subtitle 30, keywords 100
|
||||||
bytes, Play short 80, notes 500 ...), screenshot copy, Data safety answers, IAP texts (Apple description 45),
|
bytes, Play short 80, notes 500 ...), screenshot copy, Data safety answers, IAP texts (Apple description 45),
|
||||||
files the config points at, `.storebound/` gitignored. Fix everything it lists; it exits 1 on problems.
|
files the config points at, `.storebound/` gitignored, and the app profile: accounts need `accounts.deletionUrl`
|
||||||
|
(+ `inApp`), a sign-in for review needs the demo account in `.storebound/`, subscriptions need `app.termsUrl`.
|
||||||
|
Fix everything it lists; it exits 1 on problems.
|
||||||
2. `storebound check --aso`: keyword field use, repeats, stuffing (`aso-basics`). Errors exit 1, warnings are advice.
|
2. `storebound check --aso`: keyword field use, repeats, stuffing (`aso-basics`). Errors exit 1, warnings are advice.
|
||||||
3. `storebound privacy-manifest --ios ios/App` (iOS): app manifest, required-reason APIs, SDKs without manifests
|
3. `storebound privacy-manifest --ios ios/App` (iOS): app manifest, required-reason APIs, SDKs without manifests
|
||||||
(`privacy-manifest` skill).
|
(`privacy-manifest` skill).
|
||||||
4. `storebound validate` (or `--apple` / `--play`): talks to both APIs read-only and prints findings in fix order.
|
4. `storebound validate` (or `--apple` / `--play`): talks to both APIs read-only and prints findings in fix order.
|
||||||
Exit 1 while there is a blocker. `--json` for scripts.
|
Exit 1 while there is a blocker. `--json` for scripts.
|
||||||
|
5. With in-app products or subscriptions: `storebound catalog diff` (read-only): both stores against the config,
|
||||||
|
prices per region, offers. Exit 1 on missing or mismatched items.
|
||||||
|
|
||||||
## Reading `validate`
|
## Reading `validate`
|
||||||
Each line: number, level (`BLOCKER`, `warn`, `ok`), store, message, and a `fix:` with the command or skill.
|
Each line: number, level (`BLOCKER`, `warn`, `ok`), store, message, and a `fix:` with the command or skill.
|
||||||
|
|
@ -32,8 +36,13 @@ Each line: number, level (`BLOCKER`, `warn`, `ok`), store, message, and a `fix:`
|
||||||
| no app price schedule / availability | pricing never set | `apple appinfo`; if the API refuses the first availability record, set it once in App Store Connect > Pricing and Availability |
|
| no app price schedule / availability | pricing never set | `apple appinfo`; if the API refuses the first availability record, set it once in App Store Connect > Pricing and Availability |
|
||||||
| IAP MISSING_METADATA / no review screenshot | product incomplete | `apple iap`, `apple iap-review` |
|
| IAP MISSING_METADATA / no review screenshot | product incomplete | `apple iap`, `apple iap-review` |
|
||||||
| privacy policy HTTP 404 / unreachable | URL broken | `privacy-policy` skill |
|
| privacy policy HTTP 404 / unreachable | URL broken | `privacy-policy` skill |
|
||||||
|
| subscription MISSING_METADATA / no review screenshot / no group localization | subscription incomplete | `apple subscriptions` (`store-subscriptions`) |
|
||||||
|
| Play subscription base plan DRAFT | not active | `play subscriptions` |
|
||||||
|
| accounts.deletionUrl not set / unreachable | Play needs a delete-account page | `account-deletion` skill |
|
||||||
|
| sign-in required but no demo account | App Review cannot get in (2.1) | `review-access` skill, `apple review-details` |
|
||||||
|
| no Terms of Use URL / description without a Terms link | subscriptions need the EULA link (3.1.2) | `store-subscriptions` skill |
|
||||||
| Play `<lang>`: phoneScreenshots 1/2 | graphics missing | `shots render`, `play images` |
|
| Play `<lang>`: phoneScreenshots 1/2 | graphics missing | `shots render`, `play images` |
|
||||||
| app-ads.txt lacks lines / 404 | ad networks cannot verify you | `ads-levelplay-checks`; the file lives at the root of the developer website |
|
| app-ads.txt lacks lines / 404 | ad networks cannot verify you | `ads-mediation-checks`; the file lives at the root of the developer website |
|
||||||
| no release on any track | nothing uploaded | `play release <aab>` |
|
| no release on any track | nothing uploaded | `play release <aab>` |
|
||||||
| product purchase option DRAFT | not active | `play products` |
|
| product purchase option DRAFT | not active | `play products` |
|
||||||
| user-perceived crash / ANR rate over 1.09 % / 0.47 % (live apps) | Play's bad behavior threshold is crossed | `store-health` skill: `storebound health`, fix the top issues, ship a higher versionCode |
|
| user-perceived crash / ANR rate over 1.09 % / 0.47 % (live apps) | Play's bad behavior threshold is crossed | `store-health` skill: `storebound health`, fix the top issues, ship a higher versionCode |
|
||||||
|
|
@ -43,6 +52,7 @@ Vitals need the Play Developer Reporting API enabled for the service account; wi
|
||||||
"vitals not readable". `--no-health` skips these checks.
|
"vitals not readable". `--no-health` skips these checks.
|
||||||
|
|
||||||
## What validate cannot see (UI-only, check by hand)
|
## What validate cannot see (UI-only, check by hand)
|
||||||
App Privacy labels published, Play App content declarations (ads, target audience, content rating, advertising ID),
|
App Privacy labels published, Play App content declarations (ads, target audience, content rating, advertising ID,
|
||||||
|
App access with the demo account), in-app account deletion working, first subscriptions added to the version,
|
||||||
agreements / tax / banking, countries for production on Play. (TestFlight groups and testers: `storebound apple
|
agreements / tax / banking, countries for production on Play. (TestFlight groups and testers: `storebound apple
|
||||||
testflight status`.) Tell the owner which are still open.
|
testflight status`.) Tell the owner which are still open.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
name: store-screenshots
|
name: store-screenshots
|
||||||
description: Produce store screenshots and the Play feature graphic for a mobile game in every required size and many languages - capture raw frames from the running game (web build via playwright, iOS Simulator via simctl, Android emulator or device via adb, or a folder of frames from any engine), write per-language marketing copy (incl. RTL Arabic and CJK fonts), render captioned scenes with device frames, review them in a local gallery, A/B variants for Play store listing experiments and App Store Product Page Optimization tests (created and filled through the API), JPEG copies for Play, and upload to both stores. Use when the user needs App Store / Google Play screenshots, preview images, a feature graphic, localized screenshot captions, or screenshot sizes.
|
description: Produce store screenshots and the Play feature graphic for a mobile app or game in every required size and many languages - capture raw frames from the running app or game (web build via playwright, iOS Simulator via simctl, Android emulator or device via adb, or a folder of frames from any engine), write per-language marketing copy (incl. RTL Arabic and CJK fonts), render captioned scenes with device frames, review them in a local gallery, A/B variants for Play store listing experiments and App Store Product Page Optimization tests (created and filled through the API), JPEG copies for Play, and upload to both stores. Use when the user needs App Store / Google Play screenshots, preview images, a feature graphic, localized screenshot captions, or screenshot sizes.
|
||||||
---
|
---
|
||||||
|
|
||||||
# Store screenshots
|
# Store screenshots
|
||||||
|
|
@ -43,8 +43,10 @@ simulator screenshot fits after the bar is cropped. Play tablet sizes (tab7 / ta
|
||||||
in a plain Android tablet body instead of the iPad one.
|
in a plain Android tablet body instead of the iPad one.
|
||||||
|
|
||||||
## Steps
|
## Steps
|
||||||
1. **Game switches.** Give the game URL params for screenshots: language, fixed seed, no ads / analytics / purchase
|
1. **Screenshot switches.** Give the app or game params for screenshots: language, demo data or a fixed seed, no ads /
|
||||||
UI, skip tutorial, jump to a level, freeze at a moment. Frames must show real gameplay (store rule).
|
analytics / purchase UI, skip onboarding or the tutorial, jump to a screen or level, freeze at a moment. Frames must
|
||||||
|
show the real app in use (store rule; for a game: real gameplay). Apps: sign in to a demo account with realistic,
|
||||||
|
non-personal sample data; never show real user data.
|
||||||
2. **Capture.** Configure `shots.capture` with a `source` (or pass `--source`), then
|
2. **Capture.** Configure `shots.capture` with a `source` (or pass `--source`), then
|
||||||
`storebound shots capture --lang en --dry` to see the plan, and without `--dry` to capture. Frames land in
|
`storebound shots capture --lang en --dry` to see the plan, and without `--dry` to capture. Frames land in
|
||||||
`<shots.frames>/<lang>/<phone|tablet>/<shot>.png`, local, not committed.
|
`<shots.frames>/<lang>/<phone|tablet>/<shot>.png`, local, not committed.
|
||||||
|
|
@ -66,15 +68,19 @@ in a plain Android tablet body instead of the iPad one.
|
||||||
`cropTop` rows (the status bar) so they fit the template: by default the frame's bar share per device class
|
`cropTop` rows (the status bar) so they fit the template: by default the frame's bar share per device class
|
||||||
(162 px on a 6.9" iPhone, 48 px on a 13" iPad with `apple.ipad`); set `cropTop: 120` or `{ phone, tablet }` for
|
(162 px on a 6.9" iPhone, 48 px on a 13" iPad with `apple.ipad`); set `cropTop: 120` or `{ phone, tablet }` for
|
||||||
other devices, and `shots.phone` / `shots.tablet` to that device's screen in points. Capture warns when a frame's
|
other devices, and `shots.phone` / `shots.tablet` to that device's screen in points. Capture warns when a frame's
|
||||||
aspect does not match. Give the game time to load: `delayMs` (simulator / emulator; 2500 default is short for a
|
aspect does not match. Give the app time to load: `delayMs` (simulator / emulator; 2500 default is short for a
|
||||||
cold start) or `waitFor` (web).
|
cold start) or `waitFor` (web).
|
||||||
3. **Copy.** `store/shots/copy.json`: per language, per scene: `eyebrow`, `title` [white line, gold line], `sub`,
|
3. **Copy.** `store/shots/copy.json`: per language, per scene: `eyebrow`, `title` [white line, gold line], `sub`,
|
||||||
`badges` [[big, small]]. Short and true (only claim what is in the game); about 15 Latin characters per title line.
|
`badges` [[big, small]] (game style). Short and true (only claim what is in the app); about 15 Latin characters per title line.
|
||||||
Natural marketing tone per language, not literal translation; use the game's own terms.
|
Natural marketing tone per language, not literal translation; use the app's own terms.
|
||||||
4. **Fonts.** `storebound shots fonts` downloads title/body fonts and a Noto subset for every non-Latin script found in
|
4. **Fonts.** `storebound shots fonts` downloads title/body fonts and a Noto subset for every non-Latin script found in
|
||||||
the copy (CJK, Arabic, Hebrew, Devanagari, Thai, Cyrillic/Greek). Re-run after copy edits.
|
the copy (CJK, Arabic, Hebrew, Devanagari, Thai, Cyrillic/Greek). Re-run after copy edits.
|
||||||
5. **Scenes.** `shots.scenes`: palette (fire, violet, blast, green, night, sky, gold, candy or custom), frames (one
|
5. **Style and scenes.** `shots.style`: `game` (sunburst, sparkles, outlined titles, badges) or `app` (calm gradient,
|
||||||
front phone + optional back phones with x / dy / scale / rotate), badge slots (y, side, icon, hot, stars).
|
one clean device frame, headline + subline, no sparkles; badges only as quiet chips when the copy has them).
|
||||||
|
Default: `app` for the app / subscription-app profiles, `game` otherwise. `shots.scenes`: palette (game: fire,
|
||||||
|
violet, blast, green, night, sky, gold, candy; app: mist, paper, mint, sand, rose, sky, ocean, slate; or custom
|
||||||
|
`{ bg, glow, ink, shadow }`), frames (one front phone + optional back phones with x / dy / scale / rotate), badge
|
||||||
|
slots (y, side, icon, hot, stars). Fonts default to Lilita One + Montserrat (game) or Inter (app).
|
||||||
6. **Render.** `storebound shots render --lang en` first, review `store/renders/en/sheet.png` (contact sheet, sizes
|
6. **Render.** `storebound shots render --lang en` first, review `store/renders/en/sheet.png` (contact sheet, sizes
|
||||||
packed into a grid), then
|
packed into a grid), then
|
||||||
all languages in the background: `storebound shots render > .storebound/render.log 2>&1 &`.
|
all languages in the background: `storebound shots render > .storebound/render.log 2>&1 &`.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
name: testflight
|
name: testflight
|
||||||
description: Run TestFlight for a mobile game through the App Store Connect API - beta groups (internal / external, public links), testers from a CSV that never enters git, adding a build by its exact number to groups, "What to Test" per locale from the release notes, Test Information, and the Beta App Review submission the owner confirms. Use when the user wants testers on a build, sets up beta groups, writes What to Test, or asks why external testers do not see a build.
|
description: Run TestFlight for a mobile app or game through the App Store Connect API - beta groups (internal / external, public links), testers from a CSV that never enters git, adding a build by its exact number to groups, "What to Test" per locale from the release notes, Test Information, and the Beta App Review submission the owner confirms. Use when the user wants testers on a build, sets up beta groups, writes What to Test, or asks why external testers do not see a build.
|
||||||
---
|
---
|
||||||
|
|
||||||
# TestFlight
|
# TestFlight
|
||||||
|
|
@ -74,6 +74,6 @@ beta app localization before a Beta App Review submission, and fields cannot be
|
||||||
https://developer.apple.com/help/app-store-connect/test-a-beta-version/testflight-overview).
|
https://developer.apple.com/help/app-store-connect/test-a-beta-version/testflight-overview).
|
||||||
- A public link (`publicLink: true`) lets anyone with it join, up to `publicLinkLimit` (1-10000). Share it only where
|
- A public link (`publicLink: true`) lets anyone with it join, up to `publicLinkLimit` (1-10000). Share it only where
|
||||||
the owner wants; it still needs the approved build.
|
the owner wants; it still needs the approved build.
|
||||||
- External testers of a game with IAP buy with sandbox accounts automatically (no charge); say so in What to Test.
|
- External testers of an app with IAP or subscriptions buy with sandbox accounts automatically (no charge); say so in What to Test.
|
||||||
- Rejected beta review: read the message in App Store Connect > TestFlight, fix, upload a new build, submit again
|
- Rejected beta review: read the message in App Store Connect > TestFlight, fix, upload a new build, submit again
|
||||||
(review-rejections skill for the tone of the reply).
|
(review-rejections skill for the tone of the reply).
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
name: whats-new
|
name: whats-new
|
||||||
description: Write player-facing release notes ("What's new") for a mobile game update from the git log since the last tag - hook in the first line, plain player language, localized into every listing language, within store limits (Google Play 500, App Store 4000 characters). Use when preparing an update, when the user asks for release notes / changelog for the stores, or before play release / apple listing for a new version.
|
description: Write user-facing release notes ("What's new") for a mobile app or game update from the git log since the last tag - hook in the first line, plain user language, localized into every listing language, within store limits (Google Play 500, App Store 4000 characters). Use when preparing an update, when the user asks for release notes / changelog for the stores, or before play release / apple listing for a new version.
|
||||||
---
|
---
|
||||||
|
|
||||||
# What's new (release notes)
|
# What's new (release notes)
|
||||||
|
|
@ -11,16 +11,17 @@ writes a draft into the default language of `store/listing.md` (Play "What's new
|
||||||
(`whatsNew`). Nothing is sent to a store. `--all` writes the draft into every language as a starting point for
|
(`whatsNew`). Nothing is sent to a store. `--all` writes the draft into every language as a starting point for
|
||||||
translation; `storebound check` warns while a translation is still identical to the source.
|
translation; `storebound check` warns while a translation is still identical to the source.
|
||||||
|
|
||||||
## Write it for players
|
## Write it for your users
|
||||||
1. Run `storebound whats-new --dry`, read the draft with the owner.
|
1. Run `storebound whats-new --dry`, read the draft with the owner.
|
||||||
2. Rewrite:
|
2. Rewrite:
|
||||||
- **First line = hook** (the stores show roughly the first 170 characters before "more"): the most exciting
|
- **First line = hook** (the stores show roughly the first 170 characters before "more"): the most exciting
|
||||||
change in player words ("New: 20 desert levels and a daily challenge!").
|
change in user words ("New: shared lists with your family" for an app, "New: 20 desert levels and a daily challenge!"
|
||||||
- Then 2-5 bullets, most visible first. Player words, not code words: "Levels load faster" not "refactor asset
|
for a game).
|
||||||
|
- Then 2-5 bullets, most visible first. User words, not code words: "Lists open faster" / "Levels load faster", not "refactor asset
|
||||||
loader"; never internal ids, branch names or ticket numbers.
|
loader"; never internal ids, branch names or ticket numbers.
|
||||||
- Fixes in one line unless a fix was a known player complaint.
|
- Fixes in one line unless a fix was a known user complaint.
|
||||||
- No promises of future features, no prices, no other platforms.
|
- No promises of future features, no prices, no other platforms.
|
||||||
3. Translate into **every listing language** (natural tone, the game's own terms, same meaning; not word by word).
|
3. Translate into **every listing language** (natural tone, the app's own terms, same meaning; not word by word).
|
||||||
Arabic stays RTL; keep numbers and product names as they are.
|
Arabic stays RTL; keep numbers and product names as they are.
|
||||||
4. Limits: Google Play **500** characters per language, App Store **4000**; `storebound check` enforces both. A first
|
4. Limits: Google Play **500** characters per language, App Store **4000**; `storebound check` enforces both. A first
|
||||||
App Store version has no "What's new" (storebound leaves it empty there).
|
App Store version has no "What's new" (storebound leaves it empty there).
|
||||||
|
|
|
||||||
409
tests/apps.test.ts
Normal file
409
tests/apps.test.ts
Normal file
|
|
@ -0,0 +1,409 @@
|
||||||
|
// 0.5.0: app profiles, init --profile, review access / demo account, account deletion and profile checks, app
|
||||||
|
// screenshot style, subscriptions (Apple + Play request builders, plans, diffs), offers and offer codes, catalog diff.
|
||||||
|
import { describe, expect, test } from 'bun:test';
|
||||||
|
import { existsSync, mkdtempSync, readFileSync, writeFileSync, mkdirSync } from 'node:fs';
|
||||||
|
import { tmpdir } from 'node:os';
|
||||||
|
import { join } from 'node:path';
|
||||||
|
import { parseArgs } from '../cli/lib/args';
|
||||||
|
import { loadConfig, platformsOf, profileOf, sellsOn, type ShipConfig, shotsStyle, type Subscription, validateConfig } from '../cli/lib/config';
|
||||||
|
import { maskSecret, maskUser, reviewDemoAccount } from '../cli/lib/credentials';
|
||||||
|
import { dataSafetyRows } from '../cli/lib/data-safety';
|
||||||
|
import { profileIssues } from '../cli/lib/profile';
|
||||||
|
import { NOTES_MAX_BYTES, reviewDetailPlan, reviewNotes } from '../cli/lib/review-details';
|
||||||
|
import {
|
||||||
|
appleAvailabilityBody, appleCustomCodeBody, appleGroupBody, appleGroupLocBody, appleIntroPatch, appleOfferCodeBody, applePoints, applePriceChanges,
|
||||||
|
applePricesPatch, applePromoOfferBody, appleSubLocBody, appleSubPrices, appleSubscriptionBody, appleSubscriptionPlan, appleWantedPrices, basePlanId,
|
||||||
|
pickPoint, playOfferBody, playPatchSubscription, playSubDiff, playSubRegions, playSubscriptionBody, validateSubscriptions,
|
||||||
|
} from '../cli/lib/subscriptions';
|
||||||
|
import { appleSubscriptionRules, playRules, type PlaySnapshot, type ProfileFacts, profileRules } from '../cli/lib/validate-rules';
|
||||||
|
import { catalogDiff, fromApplePeriod, fromAppleType, regionOf, type StoreItem, wantedCatalog } from '../cli/lib/catalog';
|
||||||
|
import { APP_PALETTES, palette, shotFonts } from '../cli/shots/lib';
|
||||||
|
import { FILES, run as init, templateFor } from '../cli/init';
|
||||||
|
import { APPLE_IAP_TYPE } from '../cli/apple/iap';
|
||||||
|
import { listTools, TOOLS, toArgv } from '../cli/mcp-tools';
|
||||||
|
import { toMoney } from '../cli/lib/money';
|
||||||
|
import { readSkills } from '../tools/gen-adapters';
|
||||||
|
|
||||||
|
const ROOT = join(import.meta.dir, '..');
|
||||||
|
const tmp = () => mkdtempSync(join(tmpdir(), 'storebound-apps-'));
|
||||||
|
const APP = { name: 'X', privacyPolicyUrl: 'https://example.com/p', supportUrl: 'https://example.com', website: 'https://example.com', contactEmail: 'a@example.com' };
|
||||||
|
const LANGS = [{ id: 'en', apple: 'en-US', play: 'en-US' }, { id: 'tr', apple: 'tr', play: 'tr-TR' }];
|
||||||
|
const base = (o: Partial<ShipConfig> = {}): ShipConfig => ({ app: { ...APP }, languages: LANGS, apple: { bundleId: 'com.example.app' }, play: { packageName: 'com.example.app' }, ...o });
|
||||||
|
|
||||||
|
const sub = (o: Partial<Subscription> = {}): Subscription => ({
|
||||||
|
id: 'com.example.app.pro_monthly', period: 'P1M', level: 1, usd: 3.99,
|
||||||
|
listings: { en: { title: 'Pro monthly', description: 'Unlimited lists.', benefits: ['Unlimited lists'] }, tr: { title: 'Pro aylık', description: 'Sınırsız liste.' } }, ...o,
|
||||||
|
});
|
||||||
|
const group = (subs: Subscription[]) => ({ name: 'Pro', listings: { en: { name: 'Pro' } }, subscriptions: subs });
|
||||||
|
|
||||||
|
describe('profiles and app identity', () => {
|
||||||
|
test('profile, platforms and style defaults keep old configs as games', () => {
|
||||||
|
expect(profileOf(base())).toBe('game');
|
||||||
|
expect(shotsStyle(base())).toBe('game');
|
||||||
|
expect(shotsStyle(base({ app: { ...APP, profile: 'app' } }))).toBe('app');
|
||||||
|
expect(shotsStyle(base({ app: { ...APP, profile: 'subscription-app' }, shots: { style: 'game' } as ShipConfig['shots'] }))).toBe('game');
|
||||||
|
expect(platformsOf(base())).toEqual(['ios', 'android']);
|
||||||
|
expect(platformsOf(base({ play: undefined }))).toEqual(['ios']);
|
||||||
|
const c = base({ app: { ...APP, platforms: ['android'] } });
|
||||||
|
expect(sellsOn(c, {}, 'apple')).toBe(false);
|
||||||
|
expect(sellsOn(c, {}, 'play')).toBe(true);
|
||||||
|
expect(sellsOn(base(), { platforms: ['ios'] }, 'play')).toBe(false);
|
||||||
|
});
|
||||||
|
test('validateConfig: profile, terms, accounts, review access, platforms, non_renewing', () => {
|
||||||
|
expect(validateConfig(base({ app: { ...APP, profile: 'app', termsUrl: 'https://example.com/t', platforms: ['ios', 'android'] },
|
||||||
|
accounts: { enabled: true, deletionUrl: 'https://example.com/d' }, reviewAccess: { signInRequired: true },
|
||||||
|
products: [{ id: 'com.example.app.pass', type: 'non_renewing', usd: 9.99, listings: { en: { title: 'Pass', description: '30 days' } }, platforms: ['ios'] }] }))).toEqual([]);
|
||||||
|
const e = validateConfig({ ...base({ play: undefined }), app: { ...APP, profile: 'tool', termsUrl: 'http://x', platforms: ['android'] },
|
||||||
|
accounts: { enabled: 'yes', deletionUrl: 'ftp://x' }, reviewAccess: { signInRequired: 1 } } as unknown);
|
||||||
|
for (const m of ['app.profile', 'app.termsUrl', 'app.platforms: android needs a play section', 'accounts.enabled', 'accounts.deletionUrl', 'reviewAccess.signInRequired'])
|
||||||
|
expect(e.join('\n')).toContain(m);
|
||||||
|
});
|
||||||
|
test('Apple IAP types include non-renewing', () => {
|
||||||
|
expect(APPLE_IAP_TYPE).toEqual({ consumable: 'CONSUMABLE', non_consumable: 'NON_CONSUMABLE', non_renewing: 'NON_RENEWING_SUBSCRIPTION' });
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
describe('init --profile', () => {
|
||||||
|
test('every profile template exists and the configs load', async () => {
|
||||||
|
for (const p of ['app', 'game', 'subscription-app'] as const) for (const [f] of FILES) expect(existsSync(templateFor(p, f))).toBe(true);
|
||||||
|
expect(templateFor('game', 'storebound.config.ts')).toBe(join(ROOT, 'templates', 'storebound.config.ts'));
|
||||||
|
expect(templateFor('subscription-app', 'privacy-policy.html')).toBe(join(ROOT, 'templates', 'profiles', 'app', 'privacy-policy.html'));
|
||||||
|
const app = (await loadConfig(templateFor('app', 'storebound.config.ts'))).config;
|
||||||
|
expect(app.app.profile).toBe('app');
|
||||||
|
expect(app.accounts?.enabled).toBe(true);
|
||||||
|
expect(app.shots?.style).toBe('app');
|
||||||
|
expect(app.products).toBeUndefined();
|
||||||
|
const subs = (await loadConfig(templateFor('subscription-app', 'storebound.config.ts'))).config;
|
||||||
|
expect(subs.app.profile).toBe('subscription-app');
|
||||||
|
expect(subs.app.termsUrl).toMatch(/^https:/);
|
||||||
|
expect(subs.subscriptions?.[0]?.subscriptions.length).toBe(2);
|
||||||
|
expect(Object.keys(subs.dataSafety!.data)).toContain('PSL_PURCHASE_HISTORY');
|
||||||
|
const game = (await loadConfig(templateFor('game', 'storebound.config.ts'))).config;
|
||||||
|
expect(game.app.profile).toBe('game');
|
||||||
|
expect(game.ads).toBeUndefined();
|
||||||
|
expect(Object.keys(game.dataSafety!.data)).toContain('PSL_DEVICE_ID');
|
||||||
|
});
|
||||||
|
test('templates say they are starting points and the subscription copy discloses renewal and terms', () => {
|
||||||
|
for (const p of ['app', 'subscription-app'] as const) {
|
||||||
|
expect(readFileSync(templateFor(p, 'declarations.md'), 'utf8')).toContain('Edit every line');
|
||||||
|
expect(readFileSync(templateFor(p, 'app-privacy.md'), 'utf8')).toContain('Edit to match your app');
|
||||||
|
}
|
||||||
|
for (const f of ['listing.md', 'appstore.md']) {
|
||||||
|
const t = readFileSync(templateFor('subscription-app', f), 'utf8');
|
||||||
|
expect(t).toContain('renews automatically');
|
||||||
|
expect(t).toContain('https://example.com/terms');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
test('default profile is app; --profile game writes the game templates; unknown profile fails', async () => {
|
||||||
|
const a = tmp();
|
||||||
|
await init(parseArgs(['--dir', a]));
|
||||||
|
expect(readFileSync(join(a, 'storebound.config.ts'), 'utf8')).toContain("profile: 'app'");
|
||||||
|
expect(readFileSync(join(a, 'store/declarations.md'), 'utf8')).toContain('utility / productivity app');
|
||||||
|
expect(readFileSync(join(a, '.gitignore'), 'utf8')).toContain('.storebound/');
|
||||||
|
const g = tmp();
|
||||||
|
await init(parseArgs(['--dir', g, '--profile', 'game']));
|
||||||
|
expect(readFileSync(join(g, 'storebound.config.ts'), 'utf8')).toContain("profile: 'game'");
|
||||||
|
expect(readFileSync(join(g, 'store/declarations.md'), 'utf8')).toContain('free-to-play game');
|
||||||
|
await expect(init(parseArgs(['--dir', tmp(), '--profile', 'tool']))).rejects.toThrow('--profile tool');
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
describe('review access and demo account', () => {
|
||||||
|
test('demo account from env or .storebound, masked', () => {
|
||||||
|
const d = tmp();
|
||||||
|
expect(reviewDemoAccount(d)).toBeNull();
|
||||||
|
mkdirSync(join(d, '.storebound'));
|
||||||
|
writeFileSync(join(d, '.storebound', 'credentials.json'), JSON.stringify({ reviewDemoAccount: { username: 'demo@example.com', password: 'pw-123' } }));
|
||||||
|
expect(reviewDemoAccount(d)).toEqual({ username: 'demo@example.com', password: 'pw-123' });
|
||||||
|
process.env.REVIEW_DEMO_USER = 'env-user'; process.env.REVIEW_DEMO_PASSWORD = 'env-pw';
|
||||||
|
try { expect(reviewDemoAccount(d)).toEqual({ username: 'env-user', password: 'env-pw' }); }
|
||||||
|
finally { delete process.env.REVIEW_DEMO_USER; delete process.env.REVIEW_DEMO_PASSWORD; }
|
||||||
|
expect(maskUser('demo@example.com')).toBe('d***@example.com');
|
||||||
|
expect(maskUser('reviewer')).toBe('r***');
|
||||||
|
expect(maskSecret('pw-123')).toBe('********');
|
||||||
|
});
|
||||||
|
test('review detail attributes: required demo account, notes with sign-in and deletion, never a secret in the summary', () => {
|
||||||
|
const contact = { contactFirstName: 'A', contactLastName: 'B', contactPhone: '+1 555 0100', contactEmail: 'r@example.com' };
|
||||||
|
const cfg = { apple: { bundleId: 'com.example.app', info: { reviewNotes: 'Lists app.' } }, reviewAccess: { signInRequired: true, instructions: 'Use the demo account.' },
|
||||||
|
accounts: { enabled: true, inApp: 'Settings > Account > Delete account' } };
|
||||||
|
expect(() => reviewDetailPlan(cfg, contact, null)).toThrow('reviewDemoAccount');
|
||||||
|
const p = reviewDetailPlan(cfg, contact, { username: 'demo@example.com', password: 'secret-pw' });
|
||||||
|
expect(p.attributes).toMatchObject({ demoAccountRequired: true, demoAccountName: 'demo@example.com', demoAccountPassword: 'secret-pw', contactEmail: 'r@example.com' });
|
||||||
|
expect(p.attributes.notes).toBe('Lists app.\n\nSign-in: Use the demo account.\n\nAccount deletion: Settings > Account > Delete account');
|
||||||
|
expect(p.summary).not.toContain('secret-pw');
|
||||||
|
expect(p.summary).not.toContain('demo@example.com');
|
||||||
|
const none = reviewDetailPlan({ apple: cfg.apple }, contact, { username: 'x', password: 'y' });
|
||||||
|
expect(none.attributes).toMatchObject({ demoAccountRequired: false, demoAccountName: null, demoAccountPassword: null });
|
||||||
|
expect(reviewNotes({ apple: { bundleId: 'a.b', info: { reviewNotes: 'x' } } })).toBe('x');
|
||||||
|
expect(() => reviewDetailPlan({ apple: { bundleId: 'a.b', info: { reviewNotes: 'é'.repeat(NOTES_MAX_BYTES / 2 + 1) } } }, contact, null)).toThrow('bytes');
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
describe('profile checks (offline)', () => {
|
||||||
|
test('accounts need a deletion URL and consistent Data safety; sign-in needs a demo account; subscriptions need terms', () => {
|
||||||
|
const ds = { collectsData: true, encryptedInTransit: true, deletionRequest: false, data: {} };
|
||||||
|
const msgs = profileIssues(base({ accounts: { enabled: true }, reviewAccess: { signInRequired: true }, dataSafety: ds,
|
||||||
|
subscriptions: [group([sub()])] }), { demoAccount: false });
|
||||||
|
const text = msgs.map(m => `${m.level} ${m.msg}`).join('\n');
|
||||||
|
for (const m of ['error accounts.enabled: set accounts.deletionUrl', 'warn accounts.enabled: set accounts.inApp', 'PSL_ACM_NONE', 'deletionRequest is false',
|
||||||
|
'error reviewAccess.signInRequired: no demo account', 'error subscriptions: set app.termsUrl', 'without reviewScreenshot']) expect(text).toContain(m);
|
||||||
|
expect(profileIssues(base({ app: { ...APP, termsUrl: 'https://example.com/t' }, accounts: { enabled: true, deletionUrl: 'https://example.com/d', inApp: 'Settings' },
|
||||||
|
reviewAccess: { signInRequired: true, instructions: 'x' }, subscriptions: [group([sub({ reviewScreenshot: 'p.png' })])],
|
||||||
|
dataSafety: { ...ds, deletionRequest: true, accountCreation: ['PSL_ACM_USER_ID_PASSWORD'] } }), { demoAccount: true })).toEqual([]);
|
||||||
|
});
|
||||||
|
test('profileRules (validate): Play needs a reachable delete-account page, Apple needs the demo account on App Review, terms linked', () => {
|
||||||
|
const ok = { url: 'https://example.com/d', status: 200 };
|
||||||
|
const facts: ProfileFacts = { profile: 'subscription-app', accounts: true, inAppDeletion: false, deletionUrl: null, signInRequired: true, demoAccountLocal: false, subscriptions: true, termsUrl: null };
|
||||||
|
const play = profileRules('play', facts, {});
|
||||||
|
expect(play.filter(f => f.level === 'blocker').map(f => f.code)).toEqual(['account-deletion', 'demo-account', 'terms-url']);
|
||||||
|
const apple = profileRules('apple', { ...facts, demoAccountLocal: true, termsUrl: { url: 'https://example.com/t', status: 200 } },
|
||||||
|
{ reviewDetail: { demoAccountRequired: false }, descriptions: [{ locale: 'en-US', text: 'Terms of Use: https://example.com/t' }, { locale: 'tr', text: 'Koşullar' }] });
|
||||||
|
expect(apple.map(f => `${f.level}:${f.code}`)).toEqual(['warn:account-deletion', 'blocker:demo-account', 'ok:terms-url', 'warn:terms-url']);
|
||||||
|
expect(profileRules('play', { ...facts, deletionUrl: { url: ok.url, status: 404 } }, {})[0]!.msg).toContain('HTTP 404');
|
||||||
|
expect(profileRules('play', { ...facts, signInRequired: false, subscriptions: false, deletionUrl: ok }, {}).map(f => f.level)).toEqual(['ok']);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
describe('subscriptions: config', () => {
|
||||||
|
test('a valid group passes; every rule reports', () => {
|
||||||
|
const langs = new Set(['en', 'tr']);
|
||||||
|
expect(validateSubscriptions([group([sub({ intro: { type: 'free', duration: 'P1W' }, offers: [{ id: 'winback', type: 'pay-as-you-go', periods: 3, usd: 1.99 }],
|
||||||
|
offerCodes: [{ name: 'Spring', eligibility: ['NEW', 'EXPIRED'], type: 'free', duration: 'P1M', customCodes: [{ code: 'SPRING26', count: 500, expires: '2027-05-01' }] }] })])], langs, new Set())).toEqual([]);
|
||||||
|
const e = validateSubscriptions([{ name: 'G', listings: { de: { name: '' } }, subscriptions: [
|
||||||
|
sub({ id: 'Bad Id', period: 'P5M' as 'P1M', level: 0, usd: -1, basePlanId: 'Monthly', gracePeriod: 'P1D' }),
|
||||||
|
sub({ id: 'com.example.app.coins', listings: { en: { title: 'x'.repeat(31), description: 'y'.repeat(46), benefits: ['a', 'b', 'c', 'd', 'e'] } },
|
||||||
|
intro: { type: 'pay-as-you-go', periods: 0, usd: 5 }, offers: [{ id: 'Intro', type: 'free' }], offerCodes: [{ name: 'c', eligibility: ['ALL' as 'NEW'], type: 'free', duration: 'P1W', customCodes: [{ code: 'lower', count: 0 }] }] }),
|
||||||
|
] }], langs, new Set(['com.example.app.coins']));
|
||||||
|
const t = e.join('\n');
|
||||||
|
for (const m of ['listings.de: not in languages', 'listings.de.name: missing', '.id: 1-40 lowercase', '.period: one of', '.level: integer from 1', '.usd: positive', '.basePlanId:', '.gracePeriod:',
|
||||||
|
'already a one-time product', 'title: over 30', 'description: over 45', 'benefits: at most 4', 'intro.periods: 1-12', 'intro.usd: must be below', 'offers[0].id:', 'offers[0].duration',
|
||||||
|
'offerCodes[0].eligibility', 'must be upper-case', 'count must be a positive integer']) expect(t).toContain(m);
|
||||||
|
expect(validateConfig(base({ subscriptions: [group([sub(), sub({ level: 1 })])] })).join()).toContain('level: 1 used twice');
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
describe('subscriptions: App Store Connect', () => {
|
||||||
|
const s = sub({ intro: { type: 'pay-as-you-go', periods: 3, usd: 0.99 }, reviewNote: 'Paywall in Settings', overrides: [{ region: 'TR', currency: 'TRY', price: 99.99 }] });
|
||||||
|
test('request bodies follow the documented types and relationships', () => {
|
||||||
|
expect(appleGroupBody('app1', group([s]))).toEqual({ data: { type: 'subscriptionGroups', attributes: { referenceName: 'Pro' }, relationships: { app: { data: { type: 'apps', id: 'app1' } } } } });
|
||||||
|
expect(appleGroupLocBody('g1', 'tr', { name: 'Pro', customAppName: 'Liste' }).data.attributes).toEqual({ locale: 'tr', name: 'Pro', customAppName: 'Liste' });
|
||||||
|
expect(appleSubscriptionBody('g1', s)).toEqual({ data: { type: 'subscriptions', attributes: { name: 'Pro monthly', productId: s.id, subscriptionPeriod: 'ONE_MONTH', groupLevel: 1,
|
||||||
|
familySharable: false, reviewNote: 'Paywall in Settings' }, relationships: { group: { data: { type: 'subscriptionGroups', id: 'g1' } } } } });
|
||||||
|
expect(appleSubLocBody('s1', 'en-US', s.listings.en!).data).toMatchObject({ type: 'subscriptionLocalizations', attributes: { locale: 'en-US', name: 'Pro monthly', description: 'Unlimited lists.' },
|
||||||
|
relationships: { subscription: { data: { type: 'subscriptions', id: 's1' } } } });
|
||||||
|
expect(appleAvailabilityBody('s1', ['USA', 'TUR']).data.relationships.availableTerritories.data).toEqual([{ type: 'territories', id: 'USA' }, { type: 'territories', id: 'TUR' }]);
|
||||||
|
const pp = applePricesPatch('s1', [{ territory: 'USA', pointId: 'p1' }, { territory: 'TUR', pointId: 'p2', startDate: '2027-01-01' }]);
|
||||||
|
expect(pp.data).toEqual({ type: 'subscriptions', id: 's1', relationships: { prices: { data: [{ type: 'subscriptionPrices', id: '${price-0}' }, { type: 'subscriptionPrices', id: '${price-1}' }] } } });
|
||||||
|
expect(pp.included[1]).toEqual({ type: 'subscriptionPrices', id: '${price-1}', attributes: { startDate: '2027-01-01', preserveCurrentPrice: true },
|
||||||
|
relationships: { subscriptionPricePoint: { data: { type: 'subscriptionPricePoints', id: 'p2' } }, territory: { data: { type: 'territories', id: 'TUR' } } } });
|
||||||
|
const ip = appleIntroPatch('s1', s, [{ territory: 'USA', pointId: 'i1' }]);
|
||||||
|
expect(ip.included[0]!.attributes).toEqual({ duration: 'ONE_MONTH', offerMode: 'PAY_AS_YOU_GO', numberOfPeriods: 3, startDate: null, endDate: null });
|
||||||
|
expect(() => appleIntroPatch('s1', s, [{ territory: 'USA' }])).toThrow('needs a price point');
|
||||||
|
const free = appleIntroPatch('s1', sub({ intro: { type: 'free', duration: 'P2W' } }), [{ territory: 'USA' }]);
|
||||||
|
expect(free.included[0]).toMatchObject({ attributes: { duration: 'TWO_WEEKS', offerMode: 'FREE_TRIAL', numberOfPeriods: 1 }, relationships: { territory: { data: { id: 'USA' } } } });
|
||||||
|
expect('subscriptionPricePoint' in free.included[0]!.relationships).toBe(false);
|
||||||
|
});
|
||||||
|
test('promotional offers, offer codes and custom codes', () => {
|
||||||
|
const promo = applePromoOfferBody('s1', s, { id: 'winback', type: 'pay-up-front', duration: 'P3M', usd: 5.99 }, [{ territory: 'USA', pointId: 'x' }]);
|
||||||
|
expect(promo.data.attributes).toEqual({ name: 'winback', offerCode: 'winback', duration: 'THREE_MONTHS', offerMode: 'PAY_UP_FRONT', numberOfPeriods: 1 });
|
||||||
|
expect(promo.data.relationships.prices.data).toEqual([{ type: 'subscriptionPromotionalOfferPrices', id: '${promo-0}' }]);
|
||||||
|
expect(promo.included[0]!.relationships).toEqual({ territory: { data: { type: 'territories', id: 'USA' } }, subscriptionPricePoint: { data: { type: 'subscriptionPricePoints', id: 'x' } } });
|
||||||
|
const code = appleOfferCodeBody('s1', s, { name: 'Spring', eligibility: ['NEW'], type: 'free', duration: 'P1M' }, [{ territory: 'USA' }, { territory: 'TUR' }]);
|
||||||
|
expect(code.data.attributes).toEqual({ name: 'Spring', customerEligibilities: ['NEW'], offerEligibility: 'REPLACE_INTRO_OFFERS', duration: 'ONE_MONTH', offerMode: 'FREE_TRIAL', numberOfPeriods: 1 });
|
||||||
|
expect(code.included.map(x => x.type)).toEqual(['subscriptionOfferCodePrices', 'subscriptionOfferCodePrices']);
|
||||||
|
expect(appleCustomCodeBody('oc1', { code: 'SPRING26', count: 100 }).data).toEqual({ type: 'subscriptionOfferCodeCustomCodes', attributes: { customCode: 'SPRING26', numberOfCodes: 100 },
|
||||||
|
relationships: { offerCode: { data: { type: 'subscriptionOfferCodes', id: 'oc1' } } } });
|
||||||
|
});
|
||||||
|
test('prices: wanted per territory, only changes, scheduled rows; reading responses', () => {
|
||||||
|
const eq = [{ id: 'e1', territory: 'TUR', price: 149.99 }, { id: 'e2', territory: 'DEU', price: 4.49 }];
|
||||||
|
const wanted = appleWantedPrices(s, eq, [{ product: s.id, store: 'apple', region: 'DE', territory: 'DEU', currency: 'EUR', price: 3.99 }]);
|
||||||
|
expect([...wanted]).toEqual([['USA', 3.99], ['TUR', 99.99], ['DEU', 3.99]]);
|
||||||
|
expect(applePriceChanges([], wanted).map(c => c.territory)).toEqual(['USA', 'DEU', 'TUR']);
|
||||||
|
const cur = [{ territory: 'USA', price: 3.99, startDate: null }, { territory: 'TUR', price: 89.99, startDate: null }, { territory: 'DEU', price: 3.99, startDate: null }];
|
||||||
|
expect(applePriceChanges(cur, wanted)).toEqual([{ territory: 'TUR', from: 89.99, to: 99.99 }]);
|
||||||
|
expect(applePriceChanges(cur, new Map([['USA', 3.99]]), [{ product: s.id, store: 'apple', region: 'US', territory: 'USA', currency: 'USD', price: 4.99, startDate: '2027-02-01' }]))
|
||||||
|
.toEqual([{ territory: 'USA', from: 3.99, to: 4.99, startDate: '2027-02-01' }]);
|
||||||
|
const pts = applePoints({ data: [{ id: 'p1', attributes: { customerPrice: '3.99' }, relationships: { territory: { data: { id: 'USA' } } } }, { id: 'bad', attributes: {} }] });
|
||||||
|
expect(pts).toEqual([{ id: 'p1', territory: 'USA', price: 3.99 }]);
|
||||||
|
expect(pickPoint(pts, 'USA', 3.99).id).toBe('p1');
|
||||||
|
expect(() => pickPoint(pts, 'USA', 4)).toThrow('nearest 3.99');
|
||||||
|
const resp = { data: [
|
||||||
|
{ id: 'a', attributes: { startDate: null }, relationships: { territory: { data: { id: 'USA' } }, subscriptionPricePoint: { data: { id: 'p1' } } } },
|
||||||
|
{ id: 'b', attributes: { startDate: '2026-05-01' }, relationships: { territory: { data: { id: 'USA' } }, subscriptionPricePoint: { data: { id: 'p2' } } } },
|
||||||
|
{ id: 'c', attributes: { startDate: '2027-05-01' }, relationships: { territory: { data: { id: 'USA' } }, subscriptionPricePoint: { data: { id: 'p3' } } } },
|
||||||
|
], included: [{ id: 'p1', type: 'subscriptionPricePoints', attributes: { customerPrice: '2.99' } }, { id: 'p2', type: 'subscriptionPricePoints', attributes: { customerPrice: '3.99' } },
|
||||||
|
{ id: 'p3', type: 'subscriptionPricePoints', attributes: { customerPrice: '4.99' } }, { id: 'USA', type: 'territories', attributes: { currency: 'USD' } }] };
|
||||||
|
expect(appleSubPrices(resp, '2026-10-11')).toEqual([{ territory: 'USA', price: 3.99, pointId: 'p2', startDate: null, currency: 'USD' }, { territory: 'USA', price: 4.99, pointId: 'p3', startDate: '2027-05-01', currency: 'USD' }]);
|
||||||
|
});
|
||||||
|
test('plan: only what is missing, in order; a subscription in another group is refused', () => {
|
||||||
|
const g = { ...group([s, sub({ id: 'com.example.app.pro_yearly', period: 'P1Y', level: 2, reviewScreenshot: 'p.png', offers: [{ id: 'winback', type: 'free', duration: 'P1W' }],
|
||||||
|
offerCodes: [{ name: 'Spring', eligibility: ['NEW'], type: 'free', duration: 'P1M', customCodes: [{ code: 'A1', count: 1 }] }] })]), listings: { en: { name: 'Pro' }, tr: { name: 'Pro' } } };
|
||||||
|
const empty = appleSubscriptionPlan([g], LANGS, { groups: [], subscriptions: [] });
|
||||||
|
expect(empty.map(x => x.kind)).toEqual(['group', 'group-loc', 'group-loc', 'sub', 'sub-loc', 'sub-loc', 'availability', 'prices', 'intro',
|
||||||
|
'sub', 'sub-loc', 'sub-loc', 'availability', 'prices', 'promo', 'offer-code', 'review-shot']);
|
||||||
|
expect(empty.find(x => x.kind === 'offer-code')!.what).toContain('with --codes');
|
||||||
|
const done = appleSubscriptionPlan([g], LANGS, { groups: [{ id: 'g1', referenceName: 'Pro', locales: ['en-US', 'tr'] }], subscriptions: [
|
||||||
|
{ id: 's1', productId: s.id, groupId: 'g1', locales: ['en-US', 'tr'], hasPrices: true, introTerritories: 175, availability: true, reviewScreenshot: false },
|
||||||
|
{ id: 's2', productId: 'com.example.app.pro_yearly', groupId: 'g1', locales: ['en-US', 'tr'], hasPrices: true, introTerritories: 0, availability: true, reviewScreenshot: true, promoOffers: ['winback'], offerCodes: ['Spring'] }] });
|
||||||
|
expect(done.map(x => x.kind)).toEqual(['prices', 'prices']);
|
||||||
|
expect(() => appleSubscriptionPlan([g], LANGS, { groups: [{ id: 'g1', referenceName: 'Pro', locales: [] }], subscriptions: [
|
||||||
|
{ id: 's1', productId: s.id, groupId: 'other', locales: [], hasPrices: false, introTerritories: 0, availability: false, reviewScreenshot: false }] })).toThrow('another subscription group');
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
describe('subscriptions: Google Play', () => {
|
||||||
|
const conv = { US: { regionCode: 'US', price: toMoney('USD', 3.99) }, TR: { regionCode: 'TR', price: toMoney('TRY', 129.99) }, DE: { regionCode: 'DE', price: toMoney('EUR', 4.49) } };
|
||||||
|
const other = { usdPrice: toMoney('USD', 3.99), eurPrice: toMoney('EUR', 3.99) };
|
||||||
|
const s = sub({ overrides: [{ region: 'TR', currency: 'TRY', price: 99.99 }], gracePeriod: 'P7D', intro: { type: 'free', duration: 'P1W' } });
|
||||||
|
test('regions: converted, overrides, CSV; errors for unknown regions and wrong currencies', () => {
|
||||||
|
const r = playSubRegions(s, conv, [{ product: s.id, store: 'play', region: 'DE', currency: 'EUR', price: 3.99 }]);
|
||||||
|
expect(r).toEqual([{ regionCode: 'DE', price: toMoney('EUR', 3.99) }, { regionCode: 'TR', price: toMoney('TRY', 99.99) }, { regionCode: 'US', price: toMoney('USD', 3.99) }]);
|
||||||
|
expect(() => playSubRegions(sub({ overrides: [{ region: 'XX', currency: 'USD', price: 1 }] }), conv)).toThrow('does not sell in region XX');
|
||||||
|
expect(() => playSubRegions(s, conv, [{ product: s.id, store: 'play', region: 'DE', currency: 'USD', price: 1 }])).toThrow('in EUR');
|
||||||
|
});
|
||||||
|
test('subscription body: listings per Play code with benefits, one auto-renewing base plan', () => {
|
||||||
|
const b = playSubscriptionBody('com.example.app', s, LANGS, playSubRegions(s, conv), other);
|
||||||
|
expect(b.listings).toEqual([{ languageCode: 'en-US', title: 'Pro monthly', description: 'Unlimited lists.', benefits: ['Unlimited lists'] }, { languageCode: 'tr-TR', title: 'Pro aylık', description: 'Sınırsız liste.' }]);
|
||||||
|
expect(b.basePlans![0]).toMatchObject({ basePlanId: 'monthly', autoRenewingBasePlanType: { billingPeriodDuration: 'P1M', gracePeriodDuration: 'P7D', resubscribeState: 'RESUBSCRIBE_STATE_ACTIVE', legacyCompatible: true },
|
||||||
|
otherRegionsConfig: { usdPrice: other.usdPrice, eurPrice: other.eurPrice, newSubscriberAvailability: true } });
|
||||||
|
expect(b.basePlans![0]!.regionalConfigs![0]).toEqual({ regionCode: 'DE', newSubscriberAvailability: true, price: toMoney('EUR', 4.49) });
|
||||||
|
expect(basePlanId(sub({ period: 'P1Y' }))).toBe('yearly');
|
||||||
|
expect(() => playSubscriptionBody('p', sub({ listings: { xx: { title: 't', description: 'd' } } }), LANGS, [], other)).toThrow('no listing language');
|
||||||
|
});
|
||||||
|
test('offers: free trial for new subscribers, relative discount, pay up front, developer-chosen offers with a tag', () => {
|
||||||
|
const regions = playSubRegions(s, conv);
|
||||||
|
const free = playOfferBody('p', s, regions);
|
||||||
|
expect(free).toMatchObject({ offerId: 'intro', basePlanId: 'monthly', targeting: { acquisitionRule: { scope: { thisSubscription: {} } } },
|
||||||
|
phases: [{ recurrenceCount: 1, duration: 'P1W', otherRegionsConfig: { free: {} } }], otherRegionsConfig: { otherRegionsNewSubscriberAvailability: true } });
|
||||||
|
expect(free.phases[0]!.regionalConfigs[0]).toEqual({ regionCode: 'DE', free: {} });
|
||||||
|
expect(free.regionalConfigs).toEqual(regions.map(r => ({ regionCode: r.regionCode, newSubscriberAvailability: true })));
|
||||||
|
const payg = playOfferBody('p', sub({ usd: 4, intro: { type: 'pay-as-you-go', periods: 3, usd: 1 } }), regions);
|
||||||
|
expect(payg.phases[0]).toMatchObject({ recurrenceCount: 3, duration: 'P1M', otherRegionsConfig: { relativeDiscount: 0.75 } });
|
||||||
|
expect(() => playOfferBody('p', sub({ intro: { type: 'pay-up-front', duration: 'P3M', usd: 5 } }), regions)).toThrow('converted offer prices');
|
||||||
|
const up = playOfferBody('p', sub({ intro: { type: 'pay-up-front', duration: 'P3M', usd: 5 } }), regions, { regions: [{ regionCode: 'US', price: toMoney('USD', 5) }], other });
|
||||||
|
expect(up.phases[0]).toMatchObject({ duration: 'P3M', regionalConfigs: [{ regionCode: 'US', price: toMoney('USD', 5) }], otherRegionsConfig: { otherRegionsPrices: other } });
|
||||||
|
const extra = playOfferBody('p', s, regions, undefined, { id: 'winback', type: 'free', duration: 'P2W' });
|
||||||
|
expect(extra).toMatchObject({ offerId: 'winback', offerTags: [{ tag: 'winback' }], phases: [{ duration: 'P2W' }] });
|
||||||
|
expect('targeting' in extra).toBe(false);
|
||||||
|
});
|
||||||
|
test('diff and patch: create, up to date, price change, new listing, billing period cannot change, other base plans kept', () => {
|
||||||
|
const want = playSubscriptionBody('p', s, LANGS, playSubRegions(s, conv), other);
|
||||||
|
expect(playSubDiff(null, want)).toMatchObject({ create: true, basePlan: 'new', activate: true });
|
||||||
|
const cur = JSON.parse(JSON.stringify(want));
|
||||||
|
cur.basePlans[0].state = 'ACTIVE';
|
||||||
|
expect(playSubDiff(cur, want)).toEqual({ create: false, listings: [], basePlan: 'same', priceChanges: [], activate: false });
|
||||||
|
cur.basePlans[0].regionalConfigs[1].price = toMoney('TRY', 89.99);
|
||||||
|
cur.listings[1].title = 'Eski';
|
||||||
|
const d = playSubDiff(cur, want);
|
||||||
|
expect(d).toMatchObject({ basePlan: 'changed', listings: ['tr-TR'], priceChanges: [{ regionCode: 'TR', from: 'TRY 8999', to: 'TRY 9999' }] });
|
||||||
|
cur.basePlans[0].autoRenewingBasePlanType.billingPeriodDuration = 'P1Y';
|
||||||
|
expect(() => playSubDiff(cur, want)).toThrow('cannot change');
|
||||||
|
const legacy = { productId: s.id, basePlans: [{ basePlanId: 'old-plan', state: 'ACTIVE', autoRenewingBasePlanType: { billingPeriodDuration: 'P1W' } }, { basePlanId: 'monthly', state: 'ACTIVE', offerTags: [{ tag: 'x' }] }] };
|
||||||
|
const patch = playPatchSubscription(legacy, want);
|
||||||
|
expect(patch.basePlans!.map(b => b.basePlanId)).toEqual(['old-plan', 'monthly']);
|
||||||
|
expect(patch.basePlans!.some(b => 'state' in b)).toBe(false);
|
||||||
|
expect(patch.basePlans![1]!.offerTags).toEqual([{ tag: 'x' }]);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
describe('validate: subscriptions', () => {
|
||||||
|
test('App Store states, localizations, group names, review screenshots', () => {
|
||||||
|
const f = appleSubscriptionRules({ expectedSubscriptions: [{ id: 'a', group: 'Pro', locales: ['en-US', 'tr'] }, { id: 'b', group: 'Pro', locales: ['en-US'] }, { id: 'c', group: 'Pro', locales: [] }],
|
||||||
|
subscriptions: [
|
||||||
|
{ productId: 'a', group: 'Pro', state: 'MISSING_METADATA', locales: [{ locale: 'en-US', state: 'REJECTED' }], groupLocales: [], reviewScreenshot: false },
|
||||||
|
{ productId: 'b', group: 'Pro', state: 'READY_TO_SUBMIT', locales: [{ locale: 'en-US' }], groupLocales: [], reviewScreenshot: true },
|
||||||
|
] });
|
||||||
|
const t = f.map(x => `${x.level} ${x.msg}`).join('\n');
|
||||||
|
for (const m of ['group "Pro": no localization', 'a: MISSING_METADATA', 'a: no tr localization', 'a en-US: localization rejected', 'a: no review screenshot', 'c: subscription not on App Store Connect'])
|
||||||
|
expect(t).toContain(m);
|
||||||
|
expect(f.every(x => x.level === 'blocker')).toBe(true);
|
||||||
|
expect(appleSubscriptionRules({ expectedSubscriptions: [{ id: 'b', group: 'Pro', locales: ['en-US'] }], subscriptions: [
|
||||||
|
{ productId: 'b', group: 'Pro', state: 'APPROVED', locales: [{ locale: 'en-US', state: 'APPROVED' }], groupLocales: [{ locale: 'en-US' }], reviewScreenshot: false }] })[0]!.level).toBe('ok');
|
||||||
|
});
|
||||||
|
test('Play: subscription present with an active base plan', () => {
|
||||||
|
const snap: PlaySnapshot = { defaultLanguage: 'en-US', expectedLanguages: [], listings: [], privacyUrl: { url: 'https://example.com/p', status: 200 }, website: null, appAds: null,
|
||||||
|
appAdsLines: [], adsLikely: false, tracks: [], products: [], expectedProducts: [],
|
||||||
|
subscriptions: [{ productId: 'a', basePlans: [{ basePlanId: 'monthly', state: 'DRAFT' }] }],
|
||||||
|
expectedSubscriptions: [{ id: 'a', basePlanId: 'monthly' }, { id: 'b', basePlanId: 'yearly' }, { id: 'a', basePlanId: 'yearly' }] };
|
||||||
|
const msgs = playRules(snap).filter(f => f.code === 'subscriptions').map(f => f.msg);
|
||||||
|
expect(msgs).toEqual(['a: base plan monthly is DRAFT', 'b: subscription not on Play', 'a: no base plan yearly']);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
describe('catalog diff', () => {
|
||||||
|
const cfg = base({
|
||||||
|
app: { ...APP, platforms: ['ios', 'android'] },
|
||||||
|
products: [
|
||||||
|
{ id: 'com.example.app.pro', type: 'non_consumable', usd: 4.99, overrides: [{ region: 'TR', currency: 'TRY', price: 149.99 }], listings: { en: { title: 'Pro', description: 'x' } } },
|
||||||
|
{ id: 'com.example.app.pass', type: 'non_renewing', usd: 9.99, listings: { en: { title: 'Pass', description: 'x' } }, platforms: ['ios'] },
|
||||||
|
],
|
||||||
|
subscriptions: [group([sub({ intro: { type: 'free', duration: 'P1W' }, offerCodes: [{ name: 'Spring', eligibility: ['NEW'], type: 'free', duration: 'P1M' }] })])],
|
||||||
|
});
|
||||||
|
const want = wantedCatalog(cfg);
|
||||||
|
test('wanted catalog: kinds, stores, locales, offers', () => {
|
||||||
|
expect(want.map(w => [w.id, w.kind, w.stores.join('+')])).toEqual([['com.example.app.pro', 'non_consumable', 'apple+play'], ['com.example.app.pass', 'non_renewing', 'apple'],
|
||||||
|
['com.example.app.pro_monthly', 'subscription', 'apple+play']]);
|
||||||
|
expect(want[2]!.locales).toEqual({ apple: ['en-US', 'tr'], play: ['en-US', 'tr-TR'] });
|
||||||
|
expect(want[2]!.offers).toEqual({ apple: ['intro', 'code:Spring'], play: ['intro'] });
|
||||||
|
expect(fromApplePeriod('SIX_MONTHS')).toBe('P6M');
|
||||||
|
expect(fromAppleType('NON_RENEWING_SUBSCRIPTION')).toBe('non_renewing');
|
||||||
|
expect(regionOf('TUR')).toBe('TR');
|
||||||
|
});
|
||||||
|
test('missing, extra, kind, period, prices, locales, offers and cross-store price differences', () => {
|
||||||
|
const p = (region: string, currency: string, price: number) => ({ region, currency, price });
|
||||||
|
const apple: StoreItem[] = [
|
||||||
|
{ id: 'com.example.app.pro', kind: 'non_consumable', state: 'APPROVED', locales: ['en-US'], prices: [p('US', 'USD', 4.99), p('TR', 'TRY', 149.99), p('DE', 'EUR', 5.99)] },
|
||||||
|
{ id: 'com.example.app.pro_monthly', kind: 'subscription', period: 'P1M', level: 2, locales: ['en-US'], prices: [p('US', 'USD', 3.99)], offers: ['intro'] },
|
||||||
|
{ id: 'com.example.app.old', kind: 'consumable', state: 'REMOVED_FROM_SALE', locales: [], prices: [] },
|
||||||
|
];
|
||||||
|
const play: StoreItem[] = [
|
||||||
|
{ id: 'com.example.app.pro', kind: 'one_time', state: 'ACTIVE', locales: ['en-US'], prices: [p('US', 'USD', 4.99), p('TR', 'TRY', 129.99), p('DE', 'EUR', 4.99)] },
|
||||||
|
{ id: 'com.example.app.pro_monthly', kind: 'subscription', period: 'P1Y', locales: ['en-US', 'tr-TR'], prices: [p('US', 'USD', 4.99)], offers: ['intro'] },
|
||||||
|
];
|
||||||
|
const { rows, parity } = catalogDiff(want, { apple, play });
|
||||||
|
const t = rows.map(r => `${r.level} ${r.store} ${r.id}: ${r.msg}`);
|
||||||
|
for (const m of ['error apple com.example.app.pass: not on App Store Connect', 'error play com.example.app.pro: TR: 129.99 TRY on the store, 149.99 TRY in the config',
|
||||||
|
'error play com.example.app.pro_monthly: bills every P1Y on the store, P1M in the config', 'error play com.example.app.pro_monthly: US 4.99 USD on the store, 3.99 in the config',
|
||||||
|
'warn apple com.example.app.pro_monthly: group level 2 on the store, 1 in the config', 'warn apple com.example.app.pro_monthly: no localization for tr',
|
||||||
|
'warn apple com.example.app.pro_monthly: offers missing: code:Spring', 'warn apple com.example.app.old: on the store but not in the config', 'ok apple com.example.app.pro:'])
|
||||||
|
expect(t.some(x => x.startsWith(m))).toBe(true);
|
||||||
|
expect(t.some(x => x.includes('play com.example.app.pass'))).toBe(false);
|
||||||
|
expect(rows[0]!.level).toBe('error');
|
||||||
|
expect(parity).toEqual([{ id: 'com.example.app.pro_monthly', region: 'US', currency: 'USD', apple: 3.99, play: 4.99, diffPct: 20 }, { id: 'com.example.app.pro', region: 'DE', currency: 'EUR', apple: 5.99, play: 4.99, diffPct: 16.7 }, { id: 'com.example.app.pro', region: 'TR', currency: 'TRY', apple: 149.99, play: 129.99, diffPct: 13.3 }]);
|
||||||
|
expect(catalogDiff(want, { apple, play }, { threshold: 0.15 }).parity.map(x => x.region)).toEqual(['US', 'DE']);
|
||||||
|
expect(catalogDiff(want, { apple: null, play: [{ id: 'com.example.app.pro', kind: 'subscription', locales: [], prices: [] }] }).rows[0]).toMatchObject({ level: 'error', code: 'kind' });
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
describe('app screenshot style, data safety extras, tools, skills', () => {
|
||||||
|
test('app palettes and fonts', () => {
|
||||||
|
expect(palette(undefined, 'app')).toBe(APP_PALETTES.mist!);
|
||||||
|
expect(palette('ocean', 'app').ink).toBe('#ffffff');
|
||||||
|
expect(palette('fire', 'app').bg[0]).toBe('#ff3d2e');
|
||||||
|
expect(palette('mist')).toBe(APP_PALETTES.mist!);
|
||||||
|
expect(() => palette('nope', 'app')).toThrow('mist');
|
||||||
|
expect(shotFonts(undefined, 'app')).toEqual({ title: 'Inter', body: 'Inter', titleVariable: true });
|
||||||
|
expect(shotFonts({ fonts: { title: 'Lilita One' } }, 'game')).toEqual({ title: 'Lilita One', body: 'Montserrat', titleVariable: false });
|
||||||
|
for (const f of ['template-app.html', 'feature-app.html']) expect(readFileSync(join(ROOT, 'cli', 'shots', f), 'utf8')).toContain("document.body.dataset.ready = '1'");
|
||||||
|
expect(readFileSync(join(ROOT, 'cli', 'shots', 'template-app.html'), 'utf8')).not.toContain('class="spark"');
|
||||||
|
});
|
||||||
|
test('Data safety extra rows are appended as given', () => {
|
||||||
|
const rows = dataSafetyRows({ collectsData: true, encryptedInTransit: true, deletionRequest: true, accountCreation: ['PSL_ACM_USER_ID_PASSWORD'], data: {},
|
||||||
|
extra: [{ question: 'PSL_EXAMPLE_URL', value: 'https://example.com/delete-account' }] });
|
||||||
|
expect(rows.at(-1)).toEqual(['PSL_EXAMPLE_URL', '', 'https://example.com/delete-account', 'MAYBE_REQUIRED', 'PSL_EXAMPLE_URL']);
|
||||||
|
expect(validateConfig(base({ dataSafety: { collectsData: true, encryptedInTransit: true, deletionRequest: true, data: {}, extra: [{ question: 'bad id', value: 'x' }] } })).join()).toContain('dataSafety.extra[0]');
|
||||||
|
});
|
||||||
|
test('MCP: subscriptions are dry-run write tools, catalog diff is read-only', () => {
|
||||||
|
const t = (n: string) => TOOLS.find(x => x.name === n)!;
|
||||||
|
expect(toArgv(t('apple_subscriptions'), { only: 'a', csv: 'store/prices.csv' }).argv).toEqual(['apple', 'subscriptions', '--only', 'a', '--csv', 'store/prices.csv', '--dry']);
|
||||||
|
expect(toArgv(t('play_subscriptions'), { dry_run: false }).argv).toEqual(['play', 'subscriptions']);
|
||||||
|
expect(toArgv(t('catalog_diff'), { store: 'play', threshold: 5, json: true })).toEqual({ argv: ['catalog', 'diff', '--store', 'play', '--threshold', '5', '--json'], dryRun: false });
|
||||||
|
expect(listTools().find(x => x.name === 'catalog_diff')!.annotations).toMatchObject({ readOnlyHint: true });
|
||||||
|
for (const x of TOOLS) expect(toArgv(x, { dry_run: false }).argv).not.toContain('--codes');
|
||||||
|
});
|
||||||
|
test('new skills exist and the old ads skill name still resolves', () => {
|
||||||
|
const names = readSkills(ROOT).map(s => s.name);
|
||||||
|
for (const n of ['account-deletion', 'review-access', 'store-subscriptions', 'ads-mediation-checks', 'ads-levelplay-checks']) expect(names).toContain(n);
|
||||||
|
expect(readFileSync(join(ROOT, 'skills', 'ads-levelplay-checks', 'SKILL.md'), 'utf8')).toContain('ads-mediation-checks');
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
@ -48,14 +48,14 @@ export function generate(root: string): Map<string, string> {
|
||||||
const out = new Map<string, string>();
|
const out = new Map<string, string>();
|
||||||
const homepage = 'https://git.crt.fyi/CRT/storebound';
|
const homepage = 'https://git.crt.fyi/CRT/storebound';
|
||||||
const repository = 'https://git.crt.fyi/CRT/storebound.git';
|
const repository = 'https://git.crt.fyi/CRT/storebound.git';
|
||||||
const description = 'From nothing to Submit for review on Google Play and the App Store: app records, listings in every language, in-app products with regional prices, every questionnaire (Data safety, IARC, target audience, ads, App Privacy, age rating, export compliance), privacy, icons, screenshots and previews, validate, TestFlight, release management, and after launch: crash vitals, review replies, price sheets, store analytics, Product Page Optimization. Agent Skills plus a Bun CLI and MCP server (storebound); you press Submit. CRTkafa\'s own toolchain, open-sourced.';
|
const description = 'Take a mobile app or game from nothing to Submit for review on Google Play and the App Store: app records, listings in every language, in-app products and subscriptions with regional prices, every questionnaire (Data safety, App access and demo accounts, account deletion, IARC, target audience, ads, App Privacy, age rating, export compliance), privacy, icons, screenshots and previews, validate, TestFlight, release management, and after launch: crash vitals, review replies, price sheets, store analytics, Product Page Optimization. Agent Skills plus a Bun CLI and MCP server (storebound); you press Submit. CRTkafa\'s own toolchain, open-sourced.';
|
||||||
const keywords = ['google-play', 'app-store', 'app-store-connect', 'mobile-games', 'iap', 'screenshots', 'app-icons', 'release', 'aso', 'mcp'];
|
const keywords = ['google-play', 'app-store', 'app-store-connect', 'mobile-apps', 'mobile-games', 'iap', 'subscriptions', 'screenshots', 'app-icons', 'release', 'aso', 'mcp'];
|
||||||
|
|
||||||
// 1. Claude Code plugin + its MCP server + marketplace
|
// 1. Claude Code plugin + its MCP server + marketplace
|
||||||
out.set('.claude-plugin/plugin.json', json({ name: 'storebound', version: pkg.version, description, author: { name: 'CRTkafa' }, homepage, repository, license: pkg.license, keywords }));
|
out.set('.claude-plugin/plugin.json', json({ name: 'storebound', version: pkg.version, description, author: { name: 'CRTkafa' }, homepage, repository, license: pkg.license, keywords }));
|
||||||
out.set('.mcp.json', json({ mcpServers: { storebound: { command: '${CLAUDE_PLUGIN_ROOT}/bin/storebound', args: ['mcp'] } } }));
|
out.set('.mcp.json', json({ mcpServers: { storebound: { command: '${CLAUDE_PLUGIN_ROOT}/bin/storebound', args: ['mcp'] } } }));
|
||||||
out.set('.claude-plugin/marketplace.json', json({ name: 'crtkafa', description: 'CRTkafa\'s open-sourced tools.', owner: { name: 'CRTkafa' },
|
out.set('.claude-plugin/marketplace.json', json({ name: 'crtkafa', description: 'CRTkafa\'s open-sourced tools.', owner: { name: 'CRTkafa' },
|
||||||
plugins: [{ name: 'storebound', source: '.', description: 'Take a mobile game from nothing to Submit for review on both stores: skills for every store step and questionnaire plus the storebound CLI and MCP server.',
|
plugins: [{ name: 'storebound', source: '.', description: 'Take a mobile app or game from nothing to Submit for review on both stores: skills for every store step and questionnaire plus the storebound CLI and MCP server.',
|
||||||
version: pkg.version, category: 'development', tags: ['mobile', 'google-play', 'app-store', 'release'] }] }));
|
version: pkg.version, category: 'development', tags: ['mobile', 'google-play', 'app-store', 'release'] }] }));
|
||||||
|
|
||||||
// 2. OpenAI Codex plugin (skills; MCP via `storebound install --agent codex`)
|
// 2. OpenAI Codex plugin (skills; MCP via `storebound install --agent codex`)
|
||||||
|
|
@ -78,7 +78,8 @@ export function generate(root: string): Map<string, string> {
|
||||||
|
|
||||||
// 4. AGENTS.md (Codex, Cursor, Copilot, Windsurf, OpenCode, ...)
|
// 4. AGENTS.md (Codex, Cursor, Copilot, Windsurf, OpenCode, ...)
|
||||||
out.set('AGENTS.md', [generated, '', '# storebound', '',
|
out.set('AGENTS.md', [generated, '', '# storebound', '',
|
||||||
'Toolchain for shipping mobile games to Google Play and the App Store. Before a store task, open the matching skill',
|
'Toolchain for taking mobile apps and games from nothing to "Submit for review" on Google Play and the App Store.',
|
||||||
|
'Before a store task, open the matching skill',
|
||||||
'file below and follow it step by step.', '', coreBody.replace(/^/, ''), '', cli, '', '## Skills', '', indexPaths, '',
|
'file below and follow it step by step.', '', coreBody.replace(/^/, ''), '', cli, '', '## Skills', '', indexPaths, '',
|
||||||
'## Working on storebound itself', '',
|
'## Working on storebound itself', '',
|
||||||
'- Bun + TypeScript strict, zero runtime dependencies. `bun run ci` must pass (adapters fresh, tests, typecheck, scrub).',
|
'- Bun + TypeScript strict, zero runtime dependencies. `bun run ci` must pass (adapters fresh, tests, typecheck, scrub).',
|
||||||
|
|
@ -88,18 +89,18 @@ export function generate(root: string): Map<string, string> {
|
||||||
|
|
||||||
// 5. GitHub Copilot repository instructions
|
// 5. GitHub Copilot repository instructions
|
||||||
out.set('.github/copilot-instructions.md', [generated, '', '# storebound for GitHub Copilot', '',
|
out.set('.github/copilot-instructions.md', [generated, '', '# storebound for GitHub Copilot', '',
|
||||||
'Mobile game store releases (Google Play, App Store). Skills live in `skills/<name>/SKILL.md` (Agent Skills format;',
|
'Mobile app and game store releases (Google Play, App Store). Skills live in `skills/<name>/SKILL.md` (Agent Skills',
|
||||||
'`storebound install --agent copilot` copies them to `.github/skills/` of a game project).', '', coreBody, '', cli, '', '## Skills', '',
|
'format; `storebound install --agent copilot` copies them to `.github/skills/` of an app or game project).', '', coreBody, '', cli, '', '## Skills', '',
|
||||||
'| skill | for |', '|---|---|', index, ''].join('\n'));
|
'| skill | for |', '|---|---|', index, ''].join('\n'));
|
||||||
|
|
||||||
// 6. Cursor project rule (agent-requested)
|
// 6. Cursor project rule (agent-requested)
|
||||||
out.set('.cursor/rules/storebound.mdc', ['---',
|
out.set('.cursor/rules/storebound.mdc', ['---',
|
||||||
'description: Shipping a mobile game to Google Play or the App Store with storebound (listings, IAPs, screenshots, releases, review, compliance)',
|
'description: Shipping a mobile app or game to Google Play or the App Store with storebound (listings, IAPs, subscriptions, screenshots, releases, review, compliance)',
|
||||||
'alwaysApply: false', '---', '', generated, '', coreBody, '', cli, '', '## Skills', '', indexPaths, ''].join('\n'));
|
'alwaysApply: false', '---', '', generated, '', coreBody, '', cli, '', '## Skills', '', indexPaths, ''].join('\n'));
|
||||||
|
|
||||||
// 7. Gemini context file
|
// 7. Gemini context file
|
||||||
out.set('GEMINI.md', [generated, '', '# storebound', '',
|
out.set('GEMINI.md', [generated, '', '# storebound', '',
|
||||||
'This extension ships Agent Skills (skills/) and the storebound MCP server for mobile game store releases.', '',
|
'This extension ships Agent Skills (skills/) and the storebound MCP server for mobile app and game store releases.', '',
|
||||||
coreBody, '', cli, '', '## Skills', '', '| skill | for |', '|---|---|', index, ''].join('\n'));
|
coreBody, '', cli, '', '## Skills', '', '| skill | for |', '|---|---|', index, ''].join('\n'));
|
||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue