{
  "schemaVersion": "ebb.rule.v1",
  "id": "android.play-billing.version-8",
  "ecosystem": "android",
  "purl": "pkg:maven/com.android.billingclient/billing",
  "affectedVersions": "vers:maven/>=8.0.0|<9.0.0",
  "event": "scheduled-end-of-life",
  "severity": "low",
  "title": "Google Play Billing Library 8 reaches its new-app and update deadline on 2027-08-31",
  "summary": "The Google Play Billing Library version deprecation page states that all versions have a two-year deprecation cycle. Its support timeline table lists version 8 with a new app and update deadline of August 31, 2027 and an extension deadline of November 1, 2027.",
  "replacement": "Google Play Billing Library 9.x or later",
  "deadline": "2027-08-31",
  "sources": [
    {
      "title": "Google Play Billing Library version deprecation — support timeline",
      "url": "https://developer.android.com/google/play/billing/deprecation-faq",
      "accessedAt": "2026-10-19"
    }
  ],
  "provenance": {
    "observedAt": "2026-10-19",
    "reviewedAt": "2026-10-19",
    "reviewer": "arminazimi"
  },
  "migration": {
    "constraints": [
      "Keep every module, version catalog entry, and BOM override on one Play Billing Library major that Google Play still accepts for new apps and updates.",
      "Major upgrades of com.android.billingclient:billing can require BillingClient API changes; read the Play Billing Library migration guide for the jump from the reported major to the replacement before shipping."
    ],
    "steps": [
      {
        "id": "bump-play-billing",
        "title": "Raise the Play Billing Library dependency",
        "instructions": "Change the reported com.android.billingclient:billing version to Google Play Billing Library 9.x or later (see the replacement) in the build.gradle(.kts) dependency (or the version catalog key that supplies it).",
        "targets": "declaration"
      },
      {
        "id": "align-play-billing-surfaces",
        "title": "Align other Play Billing declarations",
        "instructions": "Update every other Gradle module, libs.versions.toml entry, and dependency-management block that still pins the old major, and adjust BillingClient call sites the migration guide names for that jump.",
        "targets": "all"
      }
    ],
    "verification": [
      {
        "command": "./gradlew assembleDebug",
        "purpose": "Build a debug APK with the raised Play Billing Library major."
      },
      {
        "command": "./gradlew dependencies",
        "purpose": "Confirm the resolved Play Billing Library major matches the intended replacement."
      }
    ]
  }
}
