storebound/tests/fixtures/scan/capacitor-game/storebound.config.ts

41 lines
1.9 KiB
TypeScript

// Fixture config (made up, example.com placeholders only).
export default {
app: {
name: 'Example Farm',
profile: 'game',
privacyPolicyUrl: 'https://example.com/privacy',
supportUrl: 'https://example.com/support',
website: 'https://example.com',
contactEmail: 'support@example.com',
},
accounts: { enabled: true, deletionUrl: 'https://example.com/delete-account', inApp: 'Settings > Delete account' },
reviewAccess: { signInRequired: false, instructions: 'No sign-in needed.' },
languages: [{ id: 'en', play: 'en-US', apple: 'en-US' }],
play: { packageName: 'org.example.farmgame', accountType: 'organization', targetAges: ['13-15', '16-17', '18+'] },
apple: { bundleId: 'org.example.farmgame', usesNonExemptEncryption: false },
appPrivacy: {
tracking: false,
types: {
USER_ID: { collected: true, linked: true, tracking: false, purposes: ['APP_FUNCTIONALITY'] },
DEVICE_ID: { collected: true, linked: false, tracking: false, purposes: ['APP_FUNCTIONALITY', 'ANALYTICS'] },
GAMEPLAY_CONTENT: { collected: true, linked: true, tracking: false, purposes: ['APP_FUNCTIONALITY'] },
PRODUCT_INTERACTION: { collected: true, linked: false, tracking: false, purposes: ['ANALYTICS'] },
CRASH_DATA: { collected: true, linked: false, tracking: false, purposes: ['APP_FUNCTIONALITY'] },
},
},
dataSafety: {
collectsData: true,
encryptedInTransit: true,
data: {
PSL_USER_ACCOUNT: { shared: false, collect: ['account', 'functionality'] },
PSL_DEVICE_ID: { shared: false, collect: ['functionality', 'analytics'] },
PSL_OTHER_APP_ACTIVITY: { shared: false, collect: ['analytics'] },
PSL_CRASH_LOGS: { shared: false, collect: ['analytics'] },
},
},
scan: {
ignore: [
{ rule: 'privacy-labels', evidence: 'src/no-such-file.ts', reason: 'stale entry: matches nothing' },
],
},
};