IapIos.IosModuleProps
react-native-iap / Exports / IapIos / IosModuleProps
Interface: IosModuleProps
IapIos.IosModuleProps
Common interface for all native modules (iOS — AppStore, Android — PlayStore and Amazon).
Hierarchy
↳
IosModuleProps
Table of contents
Properties
- buyProduct
- buyPromotedProduct
- clearProducts
- clearTransaction
- disable
- finishTransaction
- getAvailableItems
- getItems
- getPendingTransactions
- presentCodeRedemptionSheet
- promotedProduct
- requestReceipt
Methods
Properties
buyProduct
• buyProduct: BuyProduct
Defined in
buyPromotedProduct
• buyPromotedProduct: buyPromotedProduct
Defined in
clearProducts
• clearProducts: clearProducts
Defined in
clearTransaction
• clearTransaction: clearTransaction
Defined in
disable
• disable: () => Promise
\<null
>
Type declaration
▸ (): Promise
\<null
>
Returns
Promise
\<null
>
Defined in
finishTransaction
• finishTransaction: finishTransaction
Defined in
getAvailableItems
• getAvailableItems: getAvailableItems
Defined in
getItems
• getItems: getItems
Defined in
getPendingTransactions
• getPendingTransactions: getPendingTransactions
Defined in
presentCodeRedemptionSheet
• presentCodeRedemptionSheet: presentCodeRedemptionSheet
Defined in
promotedProduct
• promotedProduct: promotedProduct
Defined in
requestReceipt
• requestReceipt: requestReceipt
Defined in
Methods
addListener
▸ addListener(eventType
): void
addListener for NativeEventEmitter
Parameters
Name | Type |
---|---|
eventType | string |
Returns
void
Inherited from
Defined in
endConnection
▸ endConnection(): Promise
\<boolean
>
Required method to end the payment provider connection
Returns
Promise
\<boolean
>
Inherited from
NativeModuleProps.endConnection
Defined in
initConnection
▸ initConnection(): Promise
\<boolean
>
Required method to start a payment provider connection
Returns
Promise
\<boolean
>
Inherited from
NativeModuleProps.initConnection
Defined in
removeListeners
▸ removeListeners(count
): void
removeListeners for NativeEventEmitter
Parameters
Name | Type |
---|---|
count | number |
Returns
void
Inherited from
NativeModuleProps.removeListeners