Skip to main content

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

Table of contents

Properties

Methods

Properties

buyProduct

buyProduct: BuyProduct

Defined in

modules/ios.ts:45


buyPromotedProduct

buyPromotedProduct: buyPromotedProduct

Defined in

modules/ios.ts:49


clearProducts

clearProducts: clearProducts

Defined in

modules/ios.ts:47


clearTransaction

clearTransaction: clearTransaction

Defined in

modules/ios.ts:46


disable

disable: () => Promise\<null>

Type declaration

▸ (): Promise\<null>

Returns

Promise\<null>

Defined in

modules/ios.ts:54


finishTransaction

finishTransaction: finishTransaction

Defined in

modules/ios.ts:51


getAvailableItems

getAvailableItems: getAvailableItems

Defined in

modules/ios.ts:44


getItems

getItems: getItems

Defined in

modules/ios.ts:43


getPendingTransactions

getPendingTransactions: getPendingTransactions

Defined in

modules/ios.ts:52


presentCodeRedemptionSheet

presentCodeRedemptionSheet: presentCodeRedemptionSheet

Defined in

modules/ios.ts:53


promotedProduct

promotedProduct: promotedProduct

Defined in

modules/ios.ts:48


requestReceipt

requestReceipt: requestReceipt

Defined in

modules/ios.ts:50

Methods

addListener

addListener(eventType): void

addListener for NativeEventEmitter

Parameters

NameType
eventTypestring

Returns

void

Inherited from

NativeModuleProps.addListener

Defined in

modules/common.ts:12


endConnection

endConnection(): Promise\<boolean>

Required method to end the payment provider connection

Returns

Promise\<boolean>

Inherited from

NativeModuleProps.endConnection

Defined in

modules/common.ts:9


initConnection

initConnection(): Promise\<boolean>

Required method to start a payment provider connection

Returns

Promise\<boolean>

Inherited from

NativeModuleProps.initConnection

Defined in

modules/common.ts:6


removeListeners

removeListeners(count): void

removeListeners for NativeEventEmitter

Parameters

NameType
countnumber

Returns

void

Inherited from

NativeModuleProps.removeListeners

Defined in

modules/common.ts:15