@atroo/capacitor-pass-to-wallet
v8.0.0
Published
Allow to add .pkpass files to Apple Wallet
Downloads
2,102
Maintainers
Readme
capacitor-pass-to-wallet
Allows adding .pkpass files to Apple Wallet.
Install
npm install @atroo/capacitor-pass-to-wallet
npx cap syncCompatibility
| Capacitor Version | Plugin Version | | ----------------- | -------------- | | 4.x | 1.x | | 5.x | 2.x | | 6.x | 3.x | | 7.x | 7.x | | 8.x | 8.x |
Requirements (Capacitor 8)
@capacitor/core>=8.0.0- iOS deployment target:
15.0+ - Android
minSdkVersion:24+ - Android build defaults in this plugin:
compileSdkVersion 36,targetSdkVersion 36, Java21
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; }>
