Update Google Play Billing Library to 9.1.0 - #444
Merged
Conversation
Bumps the billing client from 8.0.0 to 9.1.0 and RevenueCat (test app) to 10.14.1. Billing 9 removes the SkuDetails APIs, so this drops the deprecated SuperwallBillingFlowParams.Builder.setSkuDetails and the unused internal SWProduct wrapper, and switches buildQueryPurchaseHistoryParams over to QueryPurchasesParams. See https://developer.android.com/google/play/billing/migrate-gpblv9
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps the Google Play Billing Library from 8.0.0 to 9.1.0 and the RevenueCat SDK used by the sample apps from 9.2.0 to 10.14.1.
Billing 9 removes the
SkuDetailsand purchase-history APIs entirely (see the Play Billing Library 9 migration guide), so this PR also removes the SDK surface that depended on them.Changes in this pull request
billing_version8.0.0 → 9.1.0 ingradle/libs.versions.toml.revenue_cat_version9.2.0 → 10.14.1 — used by the sample apps; required for Billing 9 compatibility.SuperwallBillingFlowParams.Builder.setSkuDetails(SkuDetails)(was deprecated) —SkuDetailsno longer exists in Billing 9. Callers should usesetProductDetailsParamsList(...)withProductDetails.SWProductwrapper — unused, and it wrapped the removedSkuDetailstype.buildQueryPurchaseHistoryParamsnow buildsQueryPurchasesParamsinstead of the removedQueryPurchaseHistoryParams, resolving current purchases rather than purchase history.minSdkto 23 across all modules (SDK was 21, sample/compose modules 22/23) — Billing 9 requires Android 6.0 (API 23).SUPERWALL_VERSIONto 2.8.0 and adds a CHANGELOG entry with upgrade guidance.Impact on SDK users
minSdkis now 23. Apps with a lowerminSdkmust raise it to pick up this release; Android 5.x devices no longer receive updates that include this SDK version.SkuDetails,SkuDetailsParams,querySkuDetailsAsync,queryPurchaseHistoryAsync,BillingClient.SkuType, no-argenablePendingPurchases()) will stop compiling, and other billing SDKs in the app (RevenueCat, Adapty, Qonversion, …) must support Billing 9. The CHANGELOG entry calls this out and asks users to test purchase/restore/subscription-status flows end to end before shipping the upgrade.Checklist
CHANGELOG.mdfor any breaking changes, enhancements, or bug fixes.ktlintin the main directory and fixed any issues.