-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
flutter/plugins
#4085Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityp: in_app_purchasePlugin for in-app purchasePlugin for in-app purchasepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specifically
Description
Use case
The IAP iOS StoreKit wrapper wraps almost all native calls, but support for the SKPaymentQueueDelegate and showPriceConsentIfNeeded are missing. With showPriceConsentIfNeeded a developer can notify their users about a price change at a moment that is convenient. More about this can be found here).
Proposal
My proposal is to:
- Allow developers to register a Dart implementation of the
SKPaymentQueueDelegateWrapperwith the currentSKPaymentQueueWrapperclass (this requires a newSKPaymentQueueWrapper.setDelegate(SKPaymentQueueDelegateWrapper)method); - Add a new
showPriceConsentIfNeeded()method to theSKPaymentQueueWrapperclass which binds to the native iOS counterpart.
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityp: in_app_purchasePlugin for in-app purchasePlugin for in-app purchasepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specifically