high · M8 · MASVS-CODE-3 · PTKD-REVIEW-PLAY-BILLING-VERSION

    Play Billing Library version below Google Play's minimum

    Google Play only accepts new apps and updates that use a recent Play Billing Library: each major version is deprecated two years after release, and uploads that still use it are refused in Play Console.

    How it is exploited

    A subscription app still depends on com.android.billingclient:billing:6.2.1. After the deprecation date Play Console refuses every new release of the app, including urgent bug fixes, until the library is upgraded.

    Why it matters

    No updates can ship on Google Play until the billing library is upgraded.

    How to fix it

    1. Find the billing dependency (./gradlew :app:dependencies | grep billingclient) and any wrapper that brings it in.
    2. Upgrade to the required major version and apply the migration guide (for example, removed SkuDetails and changed purchase acknowledgement APIs).
    3. Test purchase, restore and subscription upgrade flows with license testers before you release.

    Does your app have this?

    PTKD checks your build or your source project for PTKD-REVIEW-PLAY-BILLING-VERSION and every other check in this knowledge base.

    Scan your app

    References

    Related checks (M8)