Skip to main content

IapAmazon.AmazonModuleProps

react-native-iap / Exports / IapAmazon / AmazonModuleProps

Interface: AmazonModuleProps

IapAmazon.AmazonModuleProps

Common interface for all native modules (iOS — AppStore, Android — PlayStore and Amazon).

Hierarchy

Table of contents

Properties

Methods

Properties

acknowledgePurchase

acknowledgePurchase: AcknowledgePurchase

Defined in

modules/amazon.ts:38


buyItemByType

buyItemByType: BuyItemByType

Defined in

modules/amazon.ts:37


consumeProduct

consumeProduct: ConsumeProduct

Defined in

modules/amazon.ts:39


deepLinkToSubscriptions

deepLinkToSubscriptions: (isAmazonDevice: boolean) => Promise\<void>

Type declaration

▸ (isAmazonDevice): Promise\<void>

Parameters
NameType
isAmazonDeviceboolean
Returns

Promise\<void>

Defined in

modules/amazon.ts:43


flushFailedPurchasesCachedAsPending

flushFailedPurchasesCachedAsPending: FlushFailedPurchasesCachedAsPending

Defined in

modules/amazon.ts:34


getAvailableItems

getAvailableItems: GetAvailableItems

Defined in

modules/amazon.ts:36


getItemsByType

getItemsByType: GetItemsByType

Defined in

modules/amazon.ts:35


getUser

getUser: GetUser

Defined in

modules/amazon.ts:33


startListening

startListening: StartListening

Deprecated

to be renamed to sendUnconsumedPurchases if not removed completely

Defined in

modules/amazon.ts:41


verifyLicense

verifyLicense: () => Promise\<AmazonLicensingStatus>

Type declaration

▸ (): Promise\<AmazonLicensingStatus>

Returns

Promise\<AmazonLicensingStatus>

Defined in

modules/amazon.ts:42

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