1.0.0 • Published 21 days ago

capacitor-tips v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
21 days ago

capacitor-tips

Add tips to your capacitor app via in-app purchases

Install

npm install capacitor-tips
npx cap sync

API

listProducts(...)

listProducts(options: { productIdentifiers: string[]; }) => Promise<{ products: Product[]; }>
ParamType
options{ productIdentifiers: string[]; }

Returns: Promise<{ products: Product[]; }>


purchaseProduct(...)

purchaseProduct(product: Product) => Promise<void>
ParamType
productProduct

Interfaces

Product

PropTypeDescription
identifierstring
priceStringstringLocale formatted price ex $3.99
pricenumberex. 3.99
descriptionstring
namestring
1.0.0

21 days ago

0.0.2

6 months ago

0.0.1

6 months ago