-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Closed
flutter/plugins
#3944Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterp: 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
The package in_app_purchase version 0.6.0 removed the method queryPastPurchases saying:
The InAppPurchaseConnection.queryPastPurchases method has been removed. Instead, you should use InAppPurchase.restorePurchases
Use case
Restoring purchases is not the only use case of queryLastPurchases.
I use it during my purchase process to detect an existing subscription and propose an upgrade rather than creating a new subscription (with ChangeSubscriptionParam).
Going through purchaseStream is not convenient.
Proposal
Please consider adding queryPastPurchases back for android.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterp: 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