verify
library
Constants
dataSafetyColumns
→ const List <String >
The header Play writes, in the order it writes it.
dataSafetyRequired
→ const String
The one requirement level this package acts on.
defaultReleaseNotesLimits
→ const Map <String , int >
The platforms a release note is filtered for, and the cap each one carries.
playListingLimits
→ const Map <String , int >
Play's limits on the listing text, in UTF-16 code units.
playMaxScreenshotEdge
→ const int
playMaxScreenshots
→ const int
Play's maximum per screenshot type. Play's own number, enforced at upload.
playMinScreenshotEdge
→ const int
Play's bounds on a screenshot's edge, in pixels. Play's own numbers.
playPolicyMinScreenshotsPerDeclaredType
→ const int
This package's policy floor, not Play's rule.
playRequiredImages
→ const Map <String , PlayImageSpec >
Keyed by the directory name under images/, which is also the name the Play
API uses, so a typo fails this lookup rather than being uploaded into the
wrong slot.
playScreenshotTypes
→ const Set <String >
Screenshot directories Play understands, by the name it uses.
Functions
changelogVersions (String markdown )
→ List <String >
Every version heading in markdown, newest first, as written.
checkAppStoreTree (String path , {Set <String > requireScreenshotTypes = const {} , Set <String > requireLocales = const {} })
→ List <ReleaseProblem >
Loads the App Store metadata tree at path and reports what it refuses.
checkChangelog (String markdown , {Map <String , int > limits = defaultReleaseNotesLimits })
→ List <ReleaseProblem >
Checks every version section of markdown against each platform's limit.
checkChangelogFile (String path , {Map <String , int > limits = defaultReleaseNotesLimits })
→ List <ReleaseProblem >
checkChangelog over the file at path.
checkDataSafety (String csv , {String where = 'data safety' })
→ List <ReleaseProblem >
checkDataSafetyFile over already-read csv.
checkDataSafetyFile (String path )
→ List <ReleaseProblem >
Reads the CSV at path and reports everything structurally wrong with it.
checkPlayTree (String path , {Set <String > requireScreenshotTypes = const {} , Set <String > requireLocales = const {} })
→ List <ReleaseProblem >
Loads the Play tree at path and reports what Play would refuse.
loadPlayMetadata (String path )
→ PlayMetadata
Loads the Play metadata tree at path.
parseCsv (String input )
→ List <List <String > >
A CSV reader, because this package has no dependencies and is not getting
one for this.
parseCsvRecords (String input )
→ List <CsvRecord >
parseCsv , keeping each record's line number.
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.