validate / check: Game Center entitlement vs App ID capability vs config, the PGS APP_ID resource vs Gradle and config, store state vs the games list, player id as User ID reminders (App Privacy USER_ID, Data safety PSL_USER_ACCOUNT)
This commit is contained in:
parent
5a5d7fd4e7
commit
23f7c5a5eb
3 changed files with 100 additions and 0 deletions
|
|
@ -4,6 +4,7 @@
|
|||
// storebound check everything above
|
||||
// storebound check --aso keyword audit of both listing files (App Store keyword field, Play stuffing); exit 1 on errors
|
||||
// --json structured result ({ ok, items, warnings, hints, problems } or { findings, errors }), exit 1 on problems
|
||||
import { localGameFindings } from './games-status';
|
||||
import { templateBlockers } from './lib/template-answers';
|
||||
import { COPYRIGHT_MISSING, templatePlaceholders } from './lib/validate-rules';
|
||||
import { existsSync, readdirSync, readFileSync, statSync } from 'node:fs';
|
||||
|
|
@ -239,6 +240,11 @@ export async function run(ctx: Ctx): Promise<void> {
|
|||
if (r.severity !== 'low' && !(config.scan?.ignore ?? []).some(i => i.rule === r.rule && (!i.store || i.store === r.store))) note(`${r.store}: ${r.title} (${r.guideline}; ${r.evidence.map(where).join(', ')}). ${r.fix}`);
|
||||
} catch { /* no project sources here */ }
|
||||
}
|
||||
// Game Center entitlement, the PGS APP_ID resource, player-id declarations (offline)
|
||||
if (config.games || config.apple || config.play) {
|
||||
try { for (const f of localGameFindings(ctx.loaded)) { if (f.level === 'error') problems.push(`${f.store}: ${f.msg} (${f.fix ?? ''})`); else if (f.level === 'warn') note(`${f.store}: ${f.msg}${f.fix ? ` (${f.fix})` : ''}`); } }
|
||||
catch { /* no project sources here */ }
|
||||
}
|
||||
// Play steps without an API: the App category (Store settings) and the App content answers the owner still owes
|
||||
const pc = playConsoleReminders(config);
|
||||
for (const w of pc.warnings) note(w);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue