React Native Purchases is a 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.
React Native in-app subscriptions made easy
React Native Purchases is a client for the RevenueCat subscription and purchase tracking system. It is an open source framework that provides a wrapper around
Google Play Billing and the RevenueCat backend to make implementing in-app purchases in
React Native easy.
|✅||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 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|
The minimum React Native version this SDK requires is
ExpoKit projects of version 33 or higher can successfully use react-native-purchases. If you haven't upgraded, you can follow the instructions here to upgrade.
If you're planning on ejecting from Expo, upgrade your expo version first, THEN eject. It'll save you a whole lot of hassle.
$ npm install react-native-purchases --save or
$ yarn add react-native-purchases
$ react-native link react-native-purchases
If your project already uses Cocoapods to install iOS dependencies, common in ExpoKit projects, linking the library should have added it to the podfile. If it hasn't, add the following to your project's podfile to reference the library from your node_modules folder:
pod 'RNPurchases', :path => '../node_modules/react-native-purchases' :inhibit_warnings => true
ios folder, run
pod install. If you've just upgraded ExpoKit, you might need to upgrade cocoapods to the newest version:
sudo gem install cocoapods.
RNPurchasessub-project under the libraries section to the outer project and create a reference.
PurchasesHybridCommon.frameworkfrom your project to the Embedded Binaries section
$(PROJECT_DIR)/../node_modules/react-native-purchases/ios to Framework Search paths in build settings
The App Store, in it's infinite wisdom, still rejects fat frameworks, so we need to strip our framework before it is deployed. To do this, add the following script phase to your build.
Run Script, name it
react-native link command should have added the
libRNPurchases.a library to the Linked Frameworks and Libraries section of your app target. If it hasn't add it like this:
Please follow the Quickstart Guide for more information on how to use the SDK
Source Code: https://github.com/RevenueCat/react-native-purchases
Article covers: How native is react native?, React Native vs (Ionic, Cordova), Similarities and difference between React Native and Native App Development.
Skenix is providing React Native Development Services with qualified React Native App Developers. Get the best React Native App Development Services.
Are you a mobile app developer looking for more efficient tools for your projects? Mobile app development is getting tougher and tougher as the market continues to grow. As a developer, you need to develop Apps which meet the demands of your users. To achieve this, adopt the right tools, like the React Native development framework.
Looking for top React Native mobile app development company in USA for Startups & Enterprise? Find out the top list of React Native mobile app development company in USA.
Hire top react native app development company in New York to build and develop custom react native mobile apps for Android & iOS with the latest features.