-
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.
…r#8314) Reverts flutter#6749 This is failing the publish step: ``` Running 'build_and_copy' in shared_preferences_tool [build_and_copy] Building the extension Flutter web app... Could not find an option named "--web-renderer". Run 'flutter -h' (or 'flutter <command> -h') for available flutter commands and options. Unhandled exception: ProcessException: Failed with exit code: 64 Command: flutter build web --web-renderer canvaskit --pwa-strategy=offline-first --release --no-tree-shake-icons #0 BuildExtensionCommand._runProcess (file:///b/s/w/ir/x/w/.pub-cache/hosted/pub.dev/devtools_extensions-0.2.2/bin/_build_and_copy.dart:134:7) <asynchronous suspension> #1 BuildExtensionCommand.run (file:///b/s/w/ir/x/w/.pub-cache/hosted/pub.dev/devtools_extensions-0.2.2/bin/_build_and_copy.dart:57:5) <asynchronous suspension> #2 CommandRunner.runCommand (package:args/command_runner.dart:212:13) <asynchronous suspension> #3 SharedStdIn.terminate (package:io/src/shared_stdin.dart:91:3) <asynchronous suspension> #4 main (file:///b/s/w/ir/x/w/.pub-cache/hosted/pub.dev/devtools_extensions-0.2.2/bin/devtools_extensions.dart:16:3) <asynchronous suspension> ```
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.