Skip to content

Billing8#144

Merged
ren6 merged 2 commits intomasterfrom
Billing8
Feb 26, 2026
Merged

Billing8#144
ren6 merged 2 commits intomasterfrom
Billing8

Conversation

@aaudin90
Copy link
Collaborator

@aaudin90 aaudin90 commented Feb 19, 2026

Migrate to Play Billing Library 8.3.0

  • Bump billing version from 7.1.1 to 8.3.0
  • Replace deprecated PurchaseHistoryRecord with Purchase in restore flow
  • Remove PurchaseHistoryCallbackStatus and queryPurchaseHistory methods
  • Update ProductDetailsWrapper to use QueryProductDetailsResult API
  • Add enableAutoServiceReconnection() and enableOneTimeProducts()
  • Fix Thread.sleep → delay in BillingWrapper.connectIfNeeded()
  • Merge duplicate billingFlowParamsBuilder overloads into one
  • Fix queryProductDetails() bug in demo_old — single request instead of N incremental ones
  • Remove dead BillingClientWrapper copy from demo_old/ui/utils/

@ren6 ren6 changed the base branch from master to RemoveDeviceIdUserId February 24, 2026 10:58
Base automatically changed from RemoveDeviceIdUserId to master February 25, 2026 08:49
aaudin90 and others added 2 commits February 25, 2026 15:51
Bump billing version from 7.1.1 to 8.3.0.
Replace deprecated PurchaseHistoryRecord with Purchase in restore flow.
Remove PurchaseHistoryCallbackStatus and queryPurchaseHistory methods.
Update ProductDetailsWrapper to use QueryProductDetailsResult API.
Add enableAutoServiceReconnection() and enableOneTimeProducts().
Refactor BillingWrapper: replace Thread.sleep with delay, merge
duplicate billingFlowParamsBuilder overloads, restrict connect()
visibility to private, remove redundant KDoc on private methods.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Fix queryProductDetails() bug: move queryProductDetailsAsync call
outside the loop to make a single request with all products instead
of N incremental requests.
Add enableAutoServiceReconnection() and enableOneTimeProducts().
Add early return in queryPurchases() when BillingClient is not ready.
Remove dead copy at ui/utils/BillingClientWrapper.kt.
Remove obvious comments throughout the file.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ren6 ren6 merged commit 8145232 into master Feb 26, 2026
2 checks passed
@ren6 ren6 deleted the Billing8 branch February 26, 2026 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants