What problem does it solve?
This skill solves the complexity and risk of upgrading an Android app from an outdated legacy Google Play Billing Library (PBL) version to the latest stable version without breaking builds or billing flows.
Core Features & Use Cases
- Detects your effective Play Billing version by analyzing build dependencies first, then using deprecated API presence to determine the real baseline even when version strings are misleading.
- Plans direct vs stepped migrations based on how far your effective version is from the target, using a two-major-versions-at-a-time approach for large gaps.
- Executes refactoring with documentation-driven checklists, translating official migration guides and release-note breaking/deprecation guidance into an actionable step-by-step upgrade plan, including code-model shifts (SkuDetails → ProductDetails), connection management changes, and purchase flow modernization.
Use case example: You maintain an Android project that compiles against an older Billing client API but contains legacy purchase/query patterns; you need to upgrade to the latest stable PBL while minimizing runtime billing bugs and ensuring clean builds and tests pass.
Quick Start
Use the play-billing-library-version-upgrade skill to upgrade your project’s billing integration to the latest stable Play Billing Library version and validate it with Gradle builds and tests.