-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[in_app_purchase] Update Play Billing library to 7.1.1 #4
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Marcin Chudy <[email protected]>
Signed-off-by: Marcin Chudy <[email protected]>
Signed-off-by: Marcin Chudy <[email protected]>
Signed-off-by: Marcin Chudy <[email protected]>
Signed-off-by: Marcin Chudy <[email protected]>
Signed-off-by: Marcin Chudy <[email protected]>
Signed-off-by: Marcin Chudy <[email protected]>
Signed-off-by: Marcin Chudy <[email protected]>
Signed-off-by: Marcin Chudy <[email protected]>
Signed-off-by: Marcin Chudy <[email protected]>
Signed-off-by: Marcin Chudy <[email protected]>
Signed-off-by: Marcin Chudy <[email protected]>
Signed-off-by: Marcin Chudy <[email protected]>
3dc6578
to
1ecb837
Compare
...purchase/in_app_purchase_android/lib/src/billing_client_wrappers/billing_client_wrapper.dart
Outdated
Show resolved
Hide resolved
|
||
@override | ||
bool operator ==(Object other) { | ||
if (identical(other, this)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PendingPurchasesParamsWrapper
doesn't have identical
but it doesn't seem to be consistent in the existing code either
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I tried to follow pattern from other files
@@ -26,6 +26,7 @@ class SubscriptionOfferDetailsWrapper { | |||
required this.offerTags, | |||
required this.offerIdToken, | |||
required this.pricingPhases, | |||
this.installmentPlanDetails, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO this should be required if it's always provided even if it can be null to avoid someone forgetting to pass the value. On the other hand offerId
is not required so someone has a different option
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, but that's the way it's done in all wrappers. Using multiple standards is probably not the best idea, but I'll also leave it to the further review.
Updates Play Billing Library to the latest version 7.1.1. Exposes new APIs as per release notes:
ProductDetails.InstallmentPlanDetails
PendingPurchasesParams
and removes the deprecatedenablePendingPurchases
method onBillingClientWrapper
(breaking change)Purchase.PendingPurchaseUpdate
ProrationMode
as it has been removed from the native library (breaking change)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#147394
Pre-launch Checklist
dart format
.)[shared_preferences]
pubspec.yaml
with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.md
to add a description of the change, following repository CHANGELOG style, or this PR is exempt from CHANGELOG changes.///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.