Skip to content

valentinAbundo/capacitor-pass-to-wallet

Repository files navigation

capacitor-pass-to-wallet

Allow to add .pkpass file to Apple Wallet

Buy me a coffee if you think this plugin was very useful for your project https://paypal.me/nitnelavah?country.x=MX&locale.x=es_XC

Example

https://youtu.be/FUt2J385yCQ https://github.com/NitnelavAH/IonicAdd2Wallet

Compatibility

Capacitor Version Plugin Version
4.x 1.x
5.x 2.x
6.x 3.x

Install

npm install capacitor-pass-to-wallet
npx cap sync

API

addToWallet(...)

addToWallet(options: { base64: string; }) => Promise<{ message: string; }>
Param Type
options { base64: string; }

Returns: Promise<{ message: string; }>


addMultipleToWallet(...)

addMultipleToWallet(options: { base64: string[]; }) => Promise<{ message: string; }>
Param Type
options { base64: string[]; }

Returns: Promise<{ message: string; }>