-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
flutter/plugins
#3957Closed
Copy link
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listp: in_app_purchasePlugin for in-app purchasePlugin for in-app purchasepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.r: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version
Description
Hello!
In in_app_purchase plugin version 1.0.0:
Method InAppPurchase.instance.buyConsumable ignores autoConsume param when delegating call to InAppPurchasePlatform.instance.buyConsumable.
From source code:
// in_app_purchase.dart
Future<bool> buyConsumable({
required PurchaseParam purchaseParam,
bool autoConsume = true,
}) =>
InAppPurchasePlatform.instance.buyConsumable(
purchaseParam: purchaseParam,
);So InAppPurchasePlatform.instance.buyConsumable is called with its default bool autoConsume = true and autoConsume: false passed to InAppPurchase.instance.buyConsumable is ignored.
I can fix this issue, so it can be assign it to me.
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listp: in_app_purchasePlugin for in-app purchasePlugin for in-app purchasepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.r: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version