Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
Upgrades the Google Billing Client to v7.1.1 and updates SDK version and docs accordingly
- Refactored
buildBillingClientto use the newenablePendingPurchases(PendingPurchasesParams)API - Bumped
sdkVersionconstant from2.0.0-beta-4to2.0.0-beta-5 - Updated README to reflect Billing Library 7.1.1
Reviewed Changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| chargebee/src/main/java/com/chargebee/android/billingservice/BillingClientManager.kt | Added PendingPurchasesParams import and updated enablePendingPurchases call |
| chargebee/src/main/java/com/chargebee/android/Chargebee.kt | Updated sdkVersion constant to 2.0.0-beta-5 |
| README.md | Adjusted documentation bullets to reference Google Billing Library 7.1.1 |
Comments suppressed due to low confidence (2)
README.md:9
- The heading still references Billing Library 5 even though the README has been updated for v7.1.1. Please update the header to reflect the correct Billing Library version (e.g., "Updates for Billing Library 7").
> #### Updates for Billing Library 5
chargebee/src/main/java/com/chargebee/android/billingservice/BillingClientManager.kt:20
- The import for
PendingPurchasesParamsappears to be from the wrong package. It should be imported fromcom.android.billingclient.api.PendingPurchasesParamsinstead ofcom.chargebee.android.models.
import com.chargebee.android.models.PendingPurchasesParams
cb-haripriyan
approved these changes
Jul 10, 2025
cb-shreygupta
approved these changes
Jul 10, 2025
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.
Upgraded Billing Client from v6.2.1 to v7.1.1, and made necessary code changes to support the updated version.
Changes
Impact
Testing