2.0.0 • Published 6 months ago

capacitor-tips v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months 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
2.0.0

6 months ago

1.1.1

7 months ago

1.1.0

7 months ago

1.0.0

1 year ago

0.0.2

2 years ago

0.0.1

2 years ago