IapAmazon
react-native-iap / Exports / IapAmazon
Namespace: IapAmazon
Table of contents
Interfaces
Variables
Functions
Variables
AmazonModule
• Const
AmazonModule: AmazonModuleProps
Defined in
Functions
deepLinkToSubscriptionsAmazon
▸ deepLinkToSubscriptionsAmazon(sku
): Promise
\<void
>
Deep link to subscriptions screen on Android.
Parameters
Name | Type | Description |
---|---|---|
sku | Object | The product's SKU (on Android) |
sku.isAmazonDevice | boolean | - |
Returns
Promise
\<void
>
Defined in
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
Name | Type |
---|---|
«destructured» | Object |
› developerSecret | string |
› receiptId | string |
› useSandbox | boolean |
› userId | string |
Returns
Promise
\<ReceiptType
>
Defined in
verifyLicense
▸ verifyLicense(): Promise
\<AmazonLicensingStatus
>
Returns the status of verifying app's license
Returns
Promise
\<AmazonLicensingStatus
>
See
AmazonLicensingStatus