Skip to main content

IapAmazon

react-native-iap / Exports / IapAmazon

Namespace: IapAmazon

Table of contents

Interfaces

Variables

Functions

Variables

AmazonModule

Const AmazonModule: AmazonModuleProps

Defined in

modules/amazon.ts:46

Functions

deepLinkToSubscriptionsAmazon

deepLinkToSubscriptionsAmazon(sku): Promise\<void>

Deep link to subscriptions screen on Android.

Parameters

NameTypeDescription
skuObjectThe product's SKU (on Android)
sku.isAmazonDeviceboolean-

Returns

Promise\<void>

Defined in

modules/amazon.ts:87


validateReceiptAmazon

validateReceiptAmazon(«destructured»): Promise\<ReceiptType>

Validate receipt for Amazon. NOTE: This method is here for debugging purposes only. Including your developer secret in the binary you ship to users is potentially dangerous. Use server side validation instead for your production builds

Parameters

NameType
«destructured»Object
› developerSecretstring
› receiptIdstring
› useSandboxboolean
› userIdstring

Returns

Promise\<ReceiptType>

Defined in

modules/amazon.ts:59


verifyLicense

verifyLicense(): Promise\<AmazonLicensingStatus>

Returns the status of verifying app's license

Returns

Promise\<AmazonLicensingStatus>

See

AmazonLicensingStatus

Defined in

modules/amazon.ts:79