You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the upgrade to billing client v5 in #3752, some method signature strings on the Java side were updated. Unfortunately, as the Dart side was not updated. This mismatch broke the interaction between the Dart and native Android code through the method channels.
This PR updates the strings on the Dart side so the method invocation work correctly again.
This is a follow-up to
- flutter/flutter#110909
- flutter/flutter#107370
- flutter/flutter#114265
Copy file name to clipboardExpand all lines: packages/in_app_purchase/in_app_purchase_android/CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,7 @@
1
+
## 0.3.0+1
2
+
3
+
* Fixes misaligned method signature strings.
4
+
1
5
## 0.3.0
2
6
***BREAKING CHANGE**: Removes `launchPriceChangeConfirmationFlow` from `InAppPurchaseAndroidPlatform`. Price changes are now [handled by Google Play](https://developer.android.com/google/play/billing/subscriptions#price-change).
3
7
* Returns both base plans and offers when `queryProductDetailsAsync` is called.
Copy file name to clipboardExpand all lines: packages/in_app_purchase/in_app_purchase_android/lib/src/billing_client_wrappers/billing_client_wrapper.dart
+26-23Lines changed: 26 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ part 'billing_client_wrapper.g.dart';
16
16
/// Method identifier for the OnPurchaseUpdated method channel method.
/// Consuming can only be done on an item that's owned, and as a result of consumption, the user will no longer own it.
277
278
/// Consumption is done asynchronously. The method returns a Future containing a [BillingResultWrapper].
278
279
///
279
-
/// This wraps [`BillingClient#consumeAsync(String, ConsumeResponseListener)`](https://developer.android.com/reference/com/android/billingclient/api/BillingClient.html#consumeAsync(java.lang.String,%20com.android.billingclient.api.ConsumeResponseListener))
/// Please refer to [acknowledge](https://developer.android.com/google/play/billing/billing_library_overview#acknowledge) for more
305
307
/// details.
306
308
///
307
-
/// This wraps [`BillingClient#acknowledgePurchase(String, AcknowledgePurchaseResponseListener)`](https://developer.android.com/reference/com/android/billingclient/api/BillingClient.html#acknowledgePurchase(com.android.billingclient.api.AcknowledgePurchaseParams,%20com.android.billingclient.api.AcknowledgePurchaseResponseListener))
Copy file name to clipboardExpand all lines: packages/in_app_purchase/in_app_purchase_android/test/billing_client_wrappers/billing_client_wrapper_test.dart
0 commit comments