0.0.5 • Published 6 months ago
capacitor-purchase-history v0.0.5
capacitor-purchase-history
Purchase history
Install
npm install capacitor-purchase-history
npx cap sync
API
getPurchaseHistory()
getPurchaseHistory() => Promise<{ purchases: Purchase[]; }>
Returns: Promise<{ purchases: Purchase[]; }>
showSubscriptionManager()
showSubscriptionManager() => Promise<void>
Interfaces
Purchase
Prop | Type |
---|---|
productId | string |
transactionId | string |
originalTransactionId | string |
purchaseDate | string |
transactionState | 'purchased' | 'revoked' |