# react-native-purchases

> React Native in-app purchases and subscriptions made easy. Supports iOS and Android.

Latest version **10.10.1** (published 2026-09-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-purchases
pnpm add react-native-purchases
yarn add react-native-purchases
bun add react-native-purchases
```

## 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.

## Facts

| | |
|---|---|
| Version | 10.10.1 |
| Published | 2026-09-21 |
| First published | 2018-02-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 353.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1213 |
| Author | RevenueCat, Inc. |
| Maintainers | vegaro, andy_revenuecat, joshdholtzrevenuecat, tonirc, rcgitbot, nicola-revenuecat, francocorrea, jefago, ngrc, alfonsoperez, revenuecat-security, jayshortway, tonycosentini, jeiting |
| Keywords | react-native, in-app purchase, subscriptions, iap, iOS, Apple, Android |

## Links

- npm: https://www.npmjs.com/package/react-native-purchases
- Repository: https://github.com/revenuecat/react-native-purchases
- Homepage: https://github.com/revenuecat/react-native-purchases#readme
- Issues: https://github.com/revenuecat/react-native-purchases/issues
- npm.io page: https://npm.io/package/react-native-purchases

## Dependencies (2)

- [@revenuecat/purchases-js-hybrid-mappings](https://npm.io/package/@revenuecat/purchases-js-hybrid-mappings.md) 19.2.0
- [@revenuecat/purchases-typescript-internal](https://npm.io/package/@revenuecat/purchases-typescript-internal.md) 19.2.0

## 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

- 10.10.1 (latest) — 2026-09-21
- 8.12.0 (hotfix) — 2025-09-26
- 8.9.1-vc-beta.1 (next) — 2025-04-02
- 2.0.1 (expo-patch) — 2019-04-12
- 1.1.0-snapshot (snapshot) — 2018-07-05
- 10.10.0 — 2026-09-17
- 10.9.1 — 2026-09-10
- 10.9.0 — 2026-09-03
- 10.8.1 — 2026-08-27
- 10.8.0 — 2026-08-25
- 10.7.2 — 2026-08-20
- 10.7.1 — 2026-08-13
- 10.7.0 — 2026-08-06
- 10.6.0 — 2026-07-31
- 10.5.0 — 2026-07-28
- … 320 more at https://npm.io/package/react-native-purchases/versions

## README

<h3 align="center">😻 In-App Subscriptions Made Easy 😻</h3>

[![License](https://img.shields.io/cocoapods/l/RevenueCat.svg?style=flat)](http://cocoapods.org/pods/RevenueCat)

RevenueCat is a powerful, reliable, and free to use in-app purchase server with cross-platform support. Our open-source framework provides a backend and a wrapper around StoreKit, Google Play Billing and RevenueCat Web Billing to make implementing in-app purchases and subscriptions easy. 

Whether you are building a new app or already have millions of customers, you can use RevenueCat to:

  * Fetch products, make purchases, and check subscription status with our [native SDKs](https://docs.revenuecat.com/docs/installation). 
  * Host and [configure products](https://docs.revenuecat.com/docs/entitlements) remotely from our dashboard. 
  * Analyze the most important metrics for your app business [in one place](https://docs.revenuecat.com/docs/charts).
  * See customer transaction histories, chart lifetime value, and [grant promotional subscriptions](https://docs.revenuecat.com/docs/customers).
  * Get notified of real-time events through [webhooks](https://docs.revenuecat.com/docs/webhooks).
  * Send enriched purchase events to analytics and attribution tools with our easy integrations.

Sign up to [get started for free](https://app.revenuecat.com/signup).

## React Native Purchases

React Native Purchases is the client for the [RevenueCat](https://www.revenuecat.com/) subscription and purchase tracking system. It is an open source framework that provides a wrapper around StoreKit, Google Play Billing, RevenueCat Web Billing and the RevenueCat backend to make implementing in-app purchases in React Native easy.

## Migrating from React-Native Purchases v4 to v5
- See our [Migration guide](./v4_to_v5_migration_guide.md)

## RevenueCat SDK Features
|   | RevenueCat |
| --- | --- |
✅ | Server-side receipt validation
➡️ | [Webhooks](https://docs.revenuecat.com/docs/webhooks) - enhanced server-to-server communication with events for purchases, renewals, cancellations, and more   
🎯 | Subscription status tracking - know whether a user is subscribed whether they're on iOS, Android or web  
📊 | Analytics - automatic calculation of metrics like conversion, mrr, and churn  
📝 | [Online documentation](https://docs.revenuecat.com/docs) and [SDK reference](https://revenuecat.github.io/react-native-purchases-docs/) up to date  
🔀 | [Integrations](https://www.revenuecat.com/integrations) - over a dozen integrations to easily send purchase data where you need it  
💯 | Well maintained - [frequent releases](https://github.com/RevenueCat/purchases-ios/releases)  
📮 | Great support - [Help Center](https://revenuecat.zendesk.com) 

## Getting Started
For more detailed information, you can view our complete documentation at [docs.revenuecat.com](https://docs.revenuecat.com/docs).

Please follow the [Quickstart Guide](https://docs.revenuecat.com/docs/) for more information on how to install the SDK.

Or view our React Native sample app:
- [MagicWeather](examples/MagicWeather)

## Requirements

The minimum React Native version this SDK requires is `0.73.0`.
In Android, minimum Kotlin version is `1.8.0`.

## SDK Reference
Our full SDK reference [can be found here](https://revenuecat.github.io/react-native-purchases-docs/).

---

## Installation

Expo supports in-app payments and is compatible with `react-native-purchases`. To use the SDK, [create a new project](https://docs.expo.dev/get-started/create-a-project/) and set up a [development build](https://docs.expo.dev/get-started/set-up-your-environment/?mode=development-build). Development builds enable native code and provide a complete environment for testing purchases.

```
$ npx expo install react-native-purchases
```

In Expo Go, the SDK automatically runs in **Preview API Mode**, replacing native calls with JavaScript mocks so your app loads without errors. Real purchases, however, require a development build.

### Using development builds

To fully test in-app purchases, you’ll need to create a [custom development build](https://docs.expo.dev/develop/development-builds/introduction/) with EAS. This ensures that all native dependencies, including `react-native-purchases`, are properly included.

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