storebound/examples/demo-app/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

72 lines
3.3 KiB
TypeScript

// storebound config of the demo app "Tidy Lists" (fictional, made for this repo) to show the app profile and the app
// screenshot style. Placeholder ids and URLs only: nothing here points at a real store record. See README.md.
import type { ShipConfig } from '../../cli/lib/config';
const config: ShipConfig = {
app: {
name: 'Tidy Lists',
profile: 'app',
copyright: '2026 Example Studio',
privacyPolicyUrl: 'https://example.com/privacy',
termsUrl: 'https://example.com/terms',
supportUrl: 'https://example.com/support',
website: 'https://example.com',
contactEmail: 'support@example.com',
},
accounts: { enabled: true, deletionUrl: 'https://example.com/delete-account', inApp: 'Settings > Account > Delete account' },
reviewAccess: { signInRequired: true, instructions: 'Sign in with the demo account; the Groceries list is shared with a second demo user.' },
languages: [
{ id: 'en', play: 'en-US', apple: 'en-US' },
{ id: 'tr', play: 'tr-TR', apple: 'tr' },
],
play: { packageName: 'com.example.tidylists' },
apple: { bundleId: 'com.example.tidylists' },
// Play Data safety answers (`storebound play data-safety --dry` prints the CSV Play imports). Lists sync to the account.
dataSafety: {
collectsData: true,
encryptedInTransit: true,
deletionRequest: true,
accountCreation: ['PSL_ACM_USER_ID_PASSWORD'],
data: {
PSL_EMAIL: { shared: false, collect: ['functionality', 'account'] },
PSL_USER_ACCOUNT: { shared: false, collect: ['functionality', 'account'] },
PSL_USER_GENERATED_CONTENT: { shared: false, collect: ['functionality'] },
PSL_CRASH_LOGS: { shared: false, collect: ['analytics'] },
},
},
// `storebound scan` findings that are true for this fictional demo and accepted on purpose (README.md)
scan: {
ignore: [
{ rule: 'demo-account', reason: 'fictional demo app without a store record: there is no backend to sign in to, so no App Review demo account' },
{ rule: 'play-app-access', reason: 'fictional demo app without a store record: no Play App access credentials' },
{ rule: 'play-package-name', reason: 'fictional demo app: com.example.* is the repo placeholder and is never uploaded' },
],
},
renders: 'store/renders',
shots: {
style: 'app',
copy: 'store/shots/copy.json',
frames: 'store/shots/frames',
out: 'store/renders',
scenes: [
{ id: 'lists', palette: 'mist', frames: [{ src: 'lists.png' }] },
{ id: 'check', palette: 'mint', frames: [{ src: 'list.png' }] },
{ id: 'share', palette: 'sky', frames: [{ src: 'share.png' }] },
{ id: 'account', palette: 'slate', frames: [{ src: 'account.png' }] },
],
feature: { frame: 'lists.png', palette: 'mist' },
capture: {
source: 'web',
baseUrl: 'http://127.0.0.1:8741',
query: 'lang={lang}',
shots: {
lists: { path: '/?screen=lists', waitFor: 'window.app && app.ready', delayMs: 100, device: 'both' },
list: { path: '/?screen=list', waitFor: 'window.app && app.ready', delayMs: 100, device: 'both' },
share: { path: '/?screen=share', waitFor: 'window.app && app.ready', delayMs: 100, device: 'both' },
account: { path: '/?screen=account', waitFor: 'window.app && app.ready', delayMs: 100, device: 'both' },
},
},
},
};
export default config;