jcb-capacitor-inapp
v0.0.4
Published
Capacitor plugin for inApp purchase
Downloads
14
Readme
jcb-capacitor-inapp
Capacitor plugin for inApp purchase
Install
npm install jcb-capacitor-inapp
npx cap sync
API
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>
| Param | Type |
| ------------- | ------------------------------- |
| options
| { value: string; } |
Returns: Promise<{ value: string; }>
buyProduct(...)
buyProduct(options: { productId: string; }) => Promise<{ value: string; }>
| Param | Type |
| ------------- | ----------------------------------- |
| options
| { productId: string; } |
Returns: Promise<{ value: string; }>
checkSubscription()
checkSubscription() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>