Skip to content

Conversation

@jmagman
Copy link
Member

@jmagman jmagman commented Jan 16, 2026

Updates Play Billing Library to the latest version 8.0.0. Exposes new APIs as per release notes:

  • Adds new subResponseCode to BillingResultWrapper and PlatformBillingResult.
  • Adds unfetchedProductList to ProductDetailsResponseWrapper and PlatformProductDetailsResponse to expose products that could not be retrieved.
  • Adds Dart representation of UnfetchedProductWrapper.
  • Adds oneTimePurchaseOfferDetailsList to ProductDetailsWrapper to support multiple one-time purchase offers.
  • Removes the deprecated queryPurchaseHistory method on BillingClientWrapper as it has been removed from the native library (breaking change). Users should use restorePurchases (which uses queryPurchasesAsync instead.

This PR introduces breaking changes in in_app_purchase_android, but does not introduce any breaking changes on the platform interface level.

Fixes flutter/flutter#171523

Pre-Review Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

Footnotes

  1. Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. 2 3

@jmagman jmagman force-pushed the android-billing-client branch from a4d83af to aec08c8 Compare January 16, 2026 18:13
return other is ProductDetailsResponseWrapper &&
other.billingResult == billingResult &&
other.productDetailsList == productDetailsList;
listEquals(other.productDetailsList, productDetailsList) &&
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

listEqual was missing, I wonder if it was causing any bugs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[in_app_purchase] Update to Google Play Billing Library 8.x

1 participant