appStoreImageRules top-level constant
StoreImageRules
const appStoreImageRules
Apple, for every screenshot.
The two rules here have different provenance and the strings say which. The alpha rule is Apple's, from the screenshot specifications. The depth rule is not: Apple publishes format, dimensions and transparency for screenshots, and no bit depth at all. It is checked anyway because a 16-bit PNG is refused at ingestion — a consuming project's macOS capture fallback writes depth 16, the flatten preserves it, and Apple refuses the set after the upload.
That is deliberately the same evidence bar the aspect-ratio rule fails and
is left unchecked for in play_metadata.dart: a real set that a store
actually refused, rather than a sentence somebody read.
Implementation
const appStoreImageRules = StoreImageRules(
store: 'Apple',
alphaRule: '"Images can\'t include alpha channels or transparencies"',
depthRule:
'Apple publishes no bit depth for screenshots, and refuses a 16-bit PNG '
'at ingestion — so this one is this tool\'s, from a set Apple refused',
);