storebound/examples/demo-game/storebound.config.ts
CRT 00a38cd305 storebound scan: offline rejection-risk scan of the project itself
Detects the stack (native iOS / Android, React Native, Expo, Capacitor, Cordova,
Flutter, Unity, Godot) and the SDKs from a maintained table with versions,
file:line and each vendor's disclosure page, then reports App Store and Google
Play rejection risks with guideline, evidence, fix, severity and skill: 2.1(a)
demo account and placeholder text, 5.1.1(v) account deletion, 4.8 login
services, 3.1.1 restore and outside payments, 3.1.2 subscription info, 5.1.2(i)
ATT, purpose strings, privacy link, privacy manifest, 2.3.10, 2.3.7, 2.3.8, 4.2
web wrappers, 2.5.1, 2.5.5, ATS, export compliance, 1.3 kids ads, review
prompts, privacy labels vs SDKs; Play target SDK 36, delete-account URL, App
access, foreground services, exact alarms, QUERY_ALL_PACKAGES, SMS / call log,
com.example package name.

Proposes Data safety / App Privacy / ATT / privacy manifest answers (detected
file:line or ask owner) as a diff against the config; --write adds only the
detected ones. scan.ignore records owner-accepted findings. MCP tool scan
(read-only), validate includes open findings, desktop Checks tab shows them.
Fixtures for iOS, Android, Capacitor, Unity, Flutter, clean and teaser.
2026-10-11 15:20:55 +00:00

79 lines
4 KiB
TypeScript

// storebound config of the demo game "Prism Puddle" (fictional, made for this repo). Placeholder ids and URLs only:
// nothing here points at a real store record. Run the commands from this folder (see README.md).
import type { ShipConfig } from '../../cli/lib/config';
const config: ShipConfig = {
app: {
name: 'Prism Puddle',
copyright: '2026 Example Studio',
privacyPolicyUrl: 'https://example.com/privacy',
supportUrl: 'https://example.com/support',
website: 'https://example.com',
contactEmail: 'support@example.com',
},
languages: [
{ id: 'en', play: 'en-US', apple: 'en-US' },
{ id: 'tr', play: 'tr-TR', apple: 'tr' },
{ id: 'ja', play: 'ja-JP', apple: 'ja' },
{ id: 'ar', play: 'ar', apple: 'ar-SA', rtl: true },
],
play: { packageName: 'com.example.prismpuddle' },
apple: { bundleId: 'com.example.prismpuddle', ipad: true },
// `storebound scan` findings that are true for this fictional demo and accepted on purpose (README.md)
scan: { ignore: [{ rule: 'play-package-name', reason: 'fictional demo game: com.example.* is the repo placeholder and is never uploaded' }] },
renders: 'store/renders',
// One artwork -> every icon: `storebound icons` (sources in store/icon, from bg.svg and fg.svg; output is gitignored)
icons: {
composite: 'store/icon/icon.png',
foreground: 'store/icon/foreground.png',
background: 'store/icon/background.png',
out: 'store/icons',
web: 'store/icons/web',
capacitorAssets: 'store/icons/capacitor',
androidRes: 'store/icons/android/res',
},
shots: {
copy: 'store/shots/copy.json',
frames: 'store/shots/frames',
out: 'store/renders',
fonts: { title: 'Lilita One', body: 'Montserrat' },
scenes: [
{ id: 'hero', palette: 'violet', hero: true, over: 30, frames: [{ src: 'play.png', rotate: -4 }],
badges: [{ y: 0.42, side: 'l', icon: 'offline', iconBg: 'blue', rot: -4 }, { y: 0.68, side: 'r', icon: 'bolt', iconBg: 'violet', rot: 3 }] },
{ id: 'combo', palette: 'candy', frames: [{ src: 'combo.png', rotate: 3 }], badges: [{ y: 0.55, side: 'r', hot: true, rot: 4 }] },
{ id: 'map', palette: 'sky', frames: [{ src: 'map.png', scale: 0.86 }, { src: 'stars.png', x: -30, dy: 10, scale: 0.68, rotate: -8 }],
badges: [{ y: 0.62, side: 'r', icon: 'map', iconBg: 'blue', rot: 3 }] },
{ id: 'stars', palette: 'gold', frames: [{ src: 'stars.png', rotate: -3 }], badges: [{ y: 0.74, side: 'l', stars: true, rot: -3 }] },
],
feature: { frame: 'play.png', palette: 'violet' },
// A/B variant: other first screenshot and order (store listing experiment / Product Page Optimization treatment)
variants: { b: { scenes: ['combo', 'hero', 'stars', 'map'], copy: 'store/shots/copy-b.json', palettes: { combo: 'night' } } },
// App preview + promo video: `shots record` films the autoplay mode, `shots video` cuts the store files
video: {
clips: 'store/video/clips',
seconds: 20,
targets: ['iphone', 'youtube'],
captionScenes: ['hero', 'combo', 'map'],
record: {
clips: {
play: { path: '/?scene=play&auto=1', waitFor: 'window.game && game.ready', delayMs: 300, seconds: 8 },
combo: { path: '/?scene=combo&auto=1&t=4', waitFor: 'window.game && game.ready', delayMs: 300, seconds: 7 },
map: { path: '/?scene=map&auto=1', waitFor: 'window.game && game.ready', delayMs: 300, seconds: 6 },
},
},
},
capture: {
source: 'web',
baseUrl: 'http://127.0.0.1:8740',
query: 'lang={lang}&seed=3',
shots: {
play: { path: '/?scene=play&t=8', waitFor: 'window.game && game.ready', delayMs: 200, device: 'both' },
combo: { path: '/?scene=combo&t=8', waitFor: 'window.game && game.ready', delayMs: 200, device: 'both' },
map: { path: '/?scene=map&t=0', waitFor: 'window.game && game.ready', delayMs: 200, device: 'both' },
stars: { path: '/?scene=stars&t=2', waitFor: 'window.game && game.ready', delayMs: 200, device: 'both' },
},
},
},
};
export default config;