Repository navigation
v1.1.0: Google Play Billing Library Check & Status Gates on Cached Data
What's Changed
- feat:
gpc preflightchecks the Google Play Billing Library version. When an app holdscom.android.vending.BILLING, preflight reads the library version from the manifest and rates it against Google's deprecation deadlines on the day of the scan: error after the extension deadline, warning after the update deadline, info in the 12 months before it. Google Play stopped accepting new apps and updates on Billing Library 7 after its November 1, 2026 extension deadline, so an AAB on 7 or older now fails the defaultfailOn: "error"; the fix is to move to Billing Library 8 or later. A pipeline that never uploads to Google Play can turn the check off with"disabledRules": ["billing-library-deprecated"]. A billing app whose version cannot be read gets abilling-library-version-unknowninfo finding. AAB only. - feat: new
policy-local-network-declarationpreflight advisory. An app targeting Android 17 (API 37) or higher that requestsACCESS_LOCAL_NETWORKis reminded that Google Play requires a Play Console declaration for it from August 25, 2027. - feat: the API client types
RegionalTaxRateInfo.eligibleForStreamingServiceTaxRate, added by Google in October 2026. - fix:
gpc statusrates a cached status against the thresholds of the current run. A cached status kept the thresholds of the run that fetched it, so--thresholdand configvitals.thresholdswere ignored until the cache entry expired, and a loose threshold from an earlier run could let a later CI gate pass. - fix:
gpc statusgates no longer pass on data that cannot answer them. A fresh cache is reused only when it holds every requested section for the same--daysand--review-dayswindows and recorded no errors; otherwise the run fetches live, and--cachedfails withSTATUS_NO_CACHE(exit 2).--ttlnow always decides freshness, where a longer TTL saved by an earlier run used to win, and a--ttlthat is not a number (such as an unset CI variable) exits 2. With a threshold set, vitals that cannot be read exit 4 (STATUS_VITALS_UNREADABLE) instead of 0.gpc status --all-appsexits with the failing app's error code when an app fails, instead of 0. - fix:
gpc statusrejects a rate threshold that can never fire, as the docs already promised: a config rate of 1 or more, negative, blank or not a number, or a--thresholdof 100 percent or more, exits withTHRESHOLD_INVALID(exit 2) before any API call instead of leaving the gate open. - fix:
gpc apps info --app <package>shows that app instead of the profile's app. A malformed package name is rejected withINVALID_PACKAGE_NAME. - docs:
gpc status --thresholdhelp and docs say its values are percent, unlike config thresholds, which are fractions. Thegpc statusexit code table is corrected.
CI impact: an AAB built on Google Play Billing Library 7 or older now fails gpc preflight with the default failOn: "error". Move to Billing Library 8 or later, or turn the check off with "disabledRules": ["billing-library-deprecated"] if the pipeline never uploads to Google Play.
Full Changelog: v1.0.1...v1.1.0