@atroo/capacitor-pass-to-wallet
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

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; }>


Package Sidebar

Install

npm i @atroo/capacitor-pass-to-wallet

Weekly Downloads

120

Version

2.0.0

License

MIT

Unpacked Size

46.7 kB

Total Files

28

Last publish

Collaborators

  • atroo