# capacitor-pass-to-wallet

> Allow to add .pkpass files to Apple Wallet

Latest version **5.1.0** (published 2026-11-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install capacitor-pass-to-wallet
pnpm add capacitor-pass-to-wallet
yarn add capacitor-pass-to-wallet
bun add capacitor-pass-to-wallet
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 5.1.0 |
| Published | 2026-11-06 |
| First published | 2022-03-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 23.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 20 |
| Author | Valentin Abundo |
| Maintainers | nitnelav97 |
| Keywords | capacitor, plugin, native, wallet, pkpass, passbook, ionic, apple |

## Links

- npm: https://www.npmjs.com/package/capacitor-pass-to-wallet
- Repository: https://github.com/valentinAbundo/capacitor-pass-to-wallet.git
- Homepage: https://github.com/valentinAbundo/capacitor-pass-to-wallet.git#readme
- Issues: https://github.com/valentinAbundo/capacitor-pass-to-wallet.git/issues
- npm.io page: https://npm.io/package/capacitor-pass-to-wallet

## Recent versions

- 5.1.0 (latest) — 2026-11-06
- 5.0.0 — 2026-05-26
- 4.0.1 — 2025-05-09
- 4.0.0 — 2025-02-19
- 3.0.0 — 2024-05-14
- 2.0.1 — 2024-03-17
- 2.0.0 — 2023-10-02
- 1.0.1 — 2023-06-20
- 1.0.0 — 2023-06-20
- 0.0.5 — 2022-03-11
- 0.0.4 — 2022-03-02

## README

# capacitor-pass-to-wallet

Allow to add .pkpass file to Apple Wallet

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

## Compatibility

| Capacitor Version | Plugin Version | iOS dependency manager                  |
| ----------------- | -------------- | --------------------------------------- |
| 4.x               | 1.x            | CocoaPods                               |
| 5.x               | 2.x            | CocoaPods                               |
| 6.x               | 3.x            | CocoaPods                               |
| 7.x               | 4.x            | CocoaPods                               |
| 8.x               | 5.0.x          | CocoaPods                               |
| 8.x               | 5.1.x+         | Swift Package Manager (SPM) or CocoaPods |

## Install

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

### iOS

- Requires iOS 15+ and Capacitor 8.
- Starting with **5.1.0**, the plugin supports both **Swift Package Manager (SPM)** projects (e.g. created with `npx cap add ios --packagemanager SPM`) and **CocoaPods** projects.
- Version **5.0.x** only supports **CocoaPods**. If your app uses SPM, upgrade to `^5.1.0`.

## API

<docgen-index>

* [`addToWallet(...)`](#addtowallet)
* [`addMultipleToWallet(...)`](#addmultipletowallet)

</docgen-index>

<docgen-api>
<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->

### addToWallet(...)

```typescript
addToWallet(options: { base64: string; }) => Promise<{ message: string; }>
```

| Param         | Type                             |
| ------------- | -------------------------------- |
| **`options`** | <code>{ base64: string; }</code> |

**Returns:** <code>Promise&lt;{ message: string; }&gt;</code>

--------------------


### addMultipleToWallet(...)

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

| Param         | Type                               |
| ------------- | ---------------------------------- |
| **`options`** | <code>{ base64: string[]; }</code> |

**Returns:** <code>Promise&lt;{ message: string; }&gt;</code>

--------------------

</docgen-api>

---
_Source: https://npm.io/package/capacitor-pass-to-wallet · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
