@atroo/capacitor-pass-to-wallet
v2.0.0
Published
Allow to add .pkpass files to Apple Wallet
Downloads
621
Maintainers
Readme
capacitor-pass-to-wallet
Allow to add .pkpass file to Apple Wallet
Install
npm install @atroo/capacitor-pass-to-wallet
npx cap sync
Compatibility
| Capacitor Version | Plugin Version | | ------------- | ------------- | | 4.x | 1.x | | 5.x | 2.x |
API
addToWallet(...)
addToWallet(options: { base64: string; }) => Promise<{ value: string; }>
| Param | Type |
| ------------- | -------------------------------- |
| options
| { base64: string; } |
Returns: Promise<{ value: string; }>
addMultipleToWallet(...)
addMultipleToWallet(options: { base64: string[]; }) => Promise<{ value: string; }>
| Param | Type |
| ------------- | ---------------------------------- |
| options
| { base64: string[]; } |
Returns: Promise<{ value: string; }>
passExists(...)
passExists(options: { base64: string; }) => Promise<{ passExists: boolean; }>
| Param | Type |
| ------------- | -------------------------------- |
| options
| { base64: string; } |
Returns: Promise<{ passExists: boolean; }>