Add tips to your capacitor app via in-app purchases
npm install capacitor-tips
npx cap sync
listProducts(options: { productIdentifiers: string[]; }) => Promise<{ products: Product[]; }>
Param |
Type |
options |
{ productIdentifiers: string[]; } |
Returns: Promise<{ products: Product[]; }>
purchaseProduct(product: Product) => Promise<void>
Prop |
Type |
Description |
identifier |
string |
|
priceString |
string |
Locale formatted price ex $3.99
|
price |
number |
ex. 3.99
|
currencyCode |
string |
ex. USD
|
description |
string |
|
name |
string |
|