@hortemo/expo-storekit
v1.0.0
Published
Expo module for StoreKit 2 purchases, subscriptions, and entitlement sync on iOS/tvOS.
Downloads
191
Maintainers
Readme
@hortemo/expo-storekit
Lightweight wrapper for StoreKit 2.
Installation
npm install @hortemo/expo-storekitAPI Reference
requestProducts(productIds: string[]): Promise<Product[]>purchase(productId: string, purchaseOptions?: PurchaseOptions): Promise<ProductPurchaseResult>finishTransaction(transactionId: string): Promise<void>requestCurrentEntitlements(): Promise<TransactionVerificationResult[]>sync(): Promise<void>addListener(eventName: "transactionUpdated", listener: (result: TransactionVerificationResult) => void): EventSubscription
