react-native-purchases
TypeScript icon, indicating that this package has built-in type declarations

8.4.1 • Public • Published

😻 In-App Subscriptions Made Easy 😻

License

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 and Google Play 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.
  • Host and configure products remotely from our dashboard.
  • Analyze the most important metrics for your app business in one place.
  • See customer transaction histories, chart lifetime value, and grant promotional subscriptions.
  • Get notified of real-time events through webhooks.
  • Send enriched purchase events to analytics and attribution tools with our easy integrations.

Sign up to get started for free.

React Native Purchases

React Native Purchases is the client for the RevenueCat subscription and purchase tracking system. It is an open source framework that provides a wrapper around StoreKit, Google Play Billing and the RevenueCat backend to make implementing in-app purchases in React Native easy.

Migrating from React-Native Purchases v4 to v5

RevenueCat SDK Features

RevenueCat
Server-side receipt validation
➡️ 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 and SDK reference up to date
🔀 Integrations - over a dozen integrations to easily send purchase data where you need it
💯 Well maintained - frequent releases
📮 Great support - Help Center

Getting Started

For more detailed information, you can view our complete documentation at docs.revenuecat.com.

Please follow the Quickstart Guide for more information on how to install the SDK.

Or view our React Native sample app:

Requirements

The minimum React Native version this SDK requires is 0.64.

SDK Reference

Our full SDK reference can be found here.


Installation

Expo supports in-app payments and is compatible with react-native-purchases. To use the library, create a new project and set up a development build. A development build helps you iterate quickly and provides a complete development environment. After you've created the project, install the library:

$ npx expo install react-native-purchases

Bare workflow

If you are using bare workflow (that is, your project is created using react-native init), install expo into your project and leverage Expo CLI to use Expo tooling and services.

Package Sidebar

Install

npm i react-native-purchases

Weekly Downloads

34,368

Version

8.4.1

License

MIT

Unpacked Size

223 kB

Total Files

28

Last publish

Collaborators

  • vegaro
  • andy_revenuecat
  • joshdholtzrevenuecat
  • tonirc
  • rcgitbot
  • nicola-revenuecat
  • francocorrea
  • jefago
  • alfonsoperez
  • tonycosentini
  • jeiting