List of products loaded from AppStore
Optional
_receiptThe application receipt, contains all transactions
True to auto-finish all transactions
Optional
discountComponent that determine eligibility to a given discount offer
Set to true to force a full refresh of the receipt when preparing a receipt validation call.
This is typically done when placing an order and restoring purchases.
Platform identifier
Nice name for the adapter
True when we need to validate the application receipt
Optional
onCallback called when the restore process is completed
The pseudo receipt stores purchases in progress
true after the platform has been successfully initialized.
The value is set by the "Adapters" class (which is responsible for initializing adapters).
Set to true if receipts and products can be loaded in parallel
Returns true on iOS, the only platform supported by this adapter
List of purchase receipts.
Returns true if the platform supports the given functionality.
Finish a transaction.
For non-consumables, this will acknowledge the purchase. For consumable, this will acknowledge and consume the purchase.
Handle platform specific fields from receipt validation response.
Initializes a platform adapter.
Will resolve when initialization is complete.
Will fail with an IError
in case of an unrecoverable error.
In other case of a potentially recoverable error, the adapter will keep retrying to initialize forever.
Load product definitions from the platform.
Load the receipts
Initializes an order.
Prepare for receipt validation
Request a payment from the user
Optional
additionalData: CdvPurchase.AdditionalData
Adapter for Apple AppStore using StoreKit version 1