Skip to main content

IapIosSk2

react-native-iap / Exports / IapIosSk2

Namespace: IapIosSk2

Table of contents

Interfaces

Type Aliases

Functions

Type Aliases

BuyProduct

Ƭ BuyProduct: (sku: Sku, andDangerouslyFinishTransactionAutomaticallyIOS: boolean, applicationUsername: string | undefined, quantity: number, withOffer: Record\<keyof PaymentDiscountSk2, string> | undefined) => Promise\<TransactionSk2>

Type declaration

▸ (sku, andDangerouslyFinishTransactionAutomaticallyIOS, applicationUsername, quantity, withOffer): Promise\<TransactionSk2>

Parameters
NameType
skuSku
andDangerouslyFinishTransactionAutomaticallyIOSboolean
applicationUsernamestring | undefined
quantitynumber
withOfferRecord\<keyof PaymentDiscountSk2, string> | undefined
Returns

Promise\<TransactionSk2>

Defined in

modules/iosSk2.ts:22

Functions

beginRefundRequest

beginRefundRequest(sku): Promise\<RefundRequestStatus>

Parameters

NameType
skustring

Returns

Promise\<RefundRequestStatus>

Defined in

modules/iosSk2.ts:97


currentEntitlement

currentEntitlement(sku): Promise\<TransactionSk2>

Parameters

NameType
skustring

Returns

Promise\<TransactionSk2>

Defined in

modules/iosSk2.ts:85


finishTransaction

finishTransaction(transactionIdentifier): Promise\<Boolean>

Parameters

NameType
transactionIdentifierstring

Returns

Promise\<Boolean>

Defined in

modules/iosSk2.ts:109


isEligibleForIntroOffer

isEligibleForIntroOffer(groupID): Promise\<Boolean>

Parameters

NameType
groupIDstring

Returns

Promise\<Boolean>

Defined in

modules/iosSk2.ts:72


latestTransaction

latestTransaction(sku): Promise\<TransactionSk2>

Parameters

NameType
skustring

Returns

Promise\<TransactionSk2>

Defined in

modules/iosSk2.ts:91


showManageSubscriptions

showManageSubscriptions(): Promise\<null>

Returns

Promise\<null>

Defined in

modules/iosSk2.ts:103


subscriptionStatus

subscriptionStatus(sku): Promise\<ProductStatus[]>

Parameters

NameType
skustring

Returns

Promise\<ProductStatus[]>

Defined in

modules/iosSk2.ts:79


sync

sync(): Promise\<null>

Sync state with Appstore (iOS only) https://developer.apple.com/documentation/storekit/appstore/3791906-sync

Returns

Promise\<null>

Defined in

modules/iosSk2.ts:67