Go to file
2025-04-13 22:13:55 +00:00
android init 2025-04-13 18:12:59 -04:00
example-app Initial commit 2025-04-13 17:56:38 -04:00
ios Initial commit 2025-04-13 17:56:38 -04:00
src init 2025-04-13 18:12:59 -04:00
.eslintignore Initial commit 2025-04-13 17:56:38 -04:00
.gitignore Initial commit 2025-04-13 17:56:38 -04:00
.prettierignore Initial commit 2025-04-13 17:56:38 -04:00
CapacitorPromocode.podspec Initial commit 2025-04-13 17:56:38 -04:00
CONTRIBUTING.md Initial commit 2025-04-13 17:56:38 -04:00
package-lock.json init 2025-04-13 18:12:59 -04:00
package.json Initial commit 2025-04-13 17:56:38 -04:00
Package.swift Initial commit 2025-04-13 17:56:38 -04:00
README.md Update README.md 2025-04-13 22:13:55 +00:00
rollup.config.js Initial commit 2025-04-13 17:56:38 -04:00
tsconfig.json Initial commit 2025-04-13 17:56:38 -04:00

capacitor-promocode

Install

npm install capacitor-promocode
npx cap sync

API

launchPromoCodeRedemptionFlow()

launchPromoCodeRedemptionFlow() => Promise<{ success: boolean; message?: string; }>

Returns: Promise<{ success: boolean; message?: string; }>


isPromoCodeSupported()

isPromoCodeSupported() => Promise<{ supported: boolean; }>

Returns: Promise<{ supported: boolean; }>