# @reeq/react-native-passkit

> React native wrapper over Google Wallet (PayClient) and Apple PassKit. Includes the Add to Apple Wallet and Add to Google Wallet buttons.

Latest version **0.3.0** (published 2026-11-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install @reeq/react-native-passkit
pnpm add @reeq/react-native-passkit
yarn add @reeq/react-native-passkit
bun add @reeq/react-native-passkit
```

## Health

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

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

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.3.0 |
| Published | 2026-11-19 |
| First published | 2023-05-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.9 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Ganas Alexander |
| Maintainers | reeq |
| Keywords | react-native, ios, android, passkit, apple-wallet, google-pay, google-wallet, wallet |

## Links

- npm: https://www.npmjs.com/package/@reeq/react-native-passkit
- Repository: https://github.com/reeq-dev/react-native-passkit
- Homepage: https://reeq-dev.github.io/react-native-passkit/
- Issues: https://github.com/reeq-dev/react-native-passkit/issues
- npm.io page: https://npm.io/package/@reeq/react-native-passkit

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.3.0 (latest) — 2026-11-19
- 0.1.5-beta.2 (beta) — 2025-07-22
- 0.2.1 — 2026-06-26
- 0.2.0 — 2026-06-23
- 0.1.5 — 2026-02-20
- 0.1.4 — 2025-07-22
- 0.1.3 — 2024-01-29
- 0.1.2 — 2023-05-03
- 0.1.1 — 2023-05-03
- 0.1.0 — 2023-05-03

## README

# @reeq/react-native-passkit

React Native wrapper over Apple **PassKit** (Apple Wallet) and Google Wallet's **`PayClient`** (Android). It includes the native **Add to Apple Wallet** and **Google Wallet** buttons, and on iOS it can read and manage the passes already in Apple Wallet.

**📖 Documentation: https://reeq-dev.github.io/react-native-passkit/**

> **New Architecture only.** From `0.2.0` this library is a TurboModule + Fabric component and needs React Native 0.76+ with the New Architecture. On the legacy bridge, stay on `0.1.x`.

## Installation

```sh
yarn add @reeq/react-native-passkit
cd ios && pod install
```

Android is autolinked and needs no extra setup. See [Installation](https://reeq-dev.github.io/react-native-passkit/getting-started/installation) for requirements and the iOS Wallet entitlement.

## Quick start

```tsx
import {
  AddPassButton,
  addPass,
  canAddPasses,
  containsPass,
} from '@reeq/react-native-passkit';

const handleAddPass = async () => {
  const pass = 'BASE_64_ENCODED_PASS'; // .pkpass on iOS, Google Wallet JSON on Android

  if (!(await canAddPasses()) || (await containsPass(pass))) {
    return;
  }
  await addPass(pass);
};

<AddPassButton
  variant={{ ios: 'dark-outline', android: 'primary' }}
  onPress={handleAddPass}
/>;
```

## What's included

| | iOS | Android |
| --- | :-: | :-: |
| `AddPassButton` | ✅ | ✅ |
| `canAddPasses`, `addPass`, `addPasses`, `getWalletName` | ✅ | ✅ |
| `addPassJWT` | — | ✅ |
| `addPassResultListener`, `useAddPassResult` | ✅ | ✅ |
| `containsPass`, `getPasses`, `getPass`, `getPassFieldValue` | ✅ | — |
| `replacePass`, `removePass`, `openPass`, `passLibraryChangedListener` | ✅ | — |

Google Wallet has no on-device pass library, so the library management features are iOS-only. On Android those passes are managed from your backend through the Google Wallet REST API. See [Platform differences](https://reeq-dev.github.io/react-native-passkit/guides/platform-differences).

- [API reference](https://reeq-dev.github.io/react-native-passkit/api/methods)
- [Upgrading](https://reeq-dev.github.io/react-native-passkit/getting-started/upgrading)

## Contributing

- [Development workflow](CONTRIBUTING.md#development-workflow)
- [Sending a pull request](CONTRIBUTING.md#sending-a-pull-request)
- [Code of conduct](CODE_OF_CONDUCT.md)

The documentation site lives in [`docs/`](docs). Run it locally with `cd docs && yarn && yarn start`.

> The `0.2.0` New Architecture migration and the `0.3.0` API additions were written with the help of an AI assistant (Claude). If something looks off, please [open an issue](https://github.com/reeq-dev/react-native-passkit/issues).

## License

MIT

---
_Source: https://npm.io/package/@reeq/react-native-passkit · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
