metadata
library
Enums
ImageFormat
Which container a header came out of.
Constants
appInfoLimits
→ const Map <String , int >
App Store Connect's limits on the listing text, in UTF-16 code units.
appStoreImageRules
→ const StoreImageRules
Apple, for every screenshot.
contentRightsDeclarations
→ const Set <String >
The two answers Apple accepts for "does this app contain, show or access
third-party content".
maxScreenshots
→ const int
minScreenshots
→ const int
Apple takes 1 to 10 screenshots per display type.
playIconImageRules
→ const StoreImageRules
Play's app icon, the exception in both directions: it is the one slot that
asks for an alpha channel, and it is still 8 bits per channel.
playImageRules
→ const StoreImageRules
Play, for screenshots, the feature graphic and the TV banner — every slot
this package checks but the icon. (Play's Android XR slot says only "PNG or
JPEG"; nothing here uploads to it.)
reviewNotesLimit
→ const int
What Apple accepts in appStoreReviewDetails.notes.
reviewNotesMarker
→ const String
Where the reviewer-facing half of review-notes.md stops.
screenshotSpecs
→ const Map <String , ScreenshotSpec >
Keyed by ScreenshotDisplayType as the API spells it, because these names
are also the directory names in the tree — so a typo fails this lookup
rather than being uploaded into the wrong slot, or silently ignored.
urlLimit
→ const int
URLs are capped too, and Apple rejects the whole localization rather than
the offending field.
versionLimits
→ const Map <String , int >
Exceptions / Errors
MetadataException
Thrown for anything wrong with the tree. Always actionable: it names the
file and says what would have to be true instead.