capacitor-tips
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

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[]; }>
Param Type
options { productIdentifiers: string[]; }

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


purchaseProduct(...)

purchaseProduct(product: Product) => Promise<void>
Param Type
product Product

Interfaces

Product

Prop Type Description
identifier string
priceString string Locale formatted price ex $3.99
price number ex. 3.99
description string
name string

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.0.097latest

Version History

VersionDownloads (Last 7 Days)Published
2.0.097
1.1.10
1.1.01
1.0.06
0.0.20
0.0.11

Package Sidebar

Install

npm i capacitor-tips

Weekly Downloads

105

Version

2.0.0

License

MIT

Unpacked Size

33 kB

Total Files

24

Last publish

Collaborators

  • aeharding