All Projects → RevenueCat → React Native Purchases

RevenueCat / React Native Purchases

Licence: mit
React Native in-app purchases and subscriptions made easy. iOS and Android support.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Native Purchases

Leon Gao Rss
Leon 的个人 RSS 订阅列表
Stars: ✭ 85 (-59.13%)
Mutual labels:  subscription
Woocommerce Subscriptions Importer Exporter
Import your subscribers to WooCommerce from a CSV. Or export your subscription data from WooCommerce to CSV.
Stars: ✭ 117 (-43.75%)
Mutual labels:  subscription
Laraplans
SaaS style recurring plans for Laravel.
Stars: ✭ 163 (-21.63%)
Mutual labels:  subscription
Chip
A drop-in subscription billing UI for Laravel
Stars: ✭ 91 (-56.25%)
Mutual labels:  subscription
Graphql Live Query
Realtime GraphQL Live Queries with JavaScript
Stars: ✭ 112 (-46.15%)
Mutual labels:  subscription
Awesome Rss
Puts an RSS/Atom subscribe button back in URL bar
Stars: ✭ 125 (-39.9%)
Mutual labels:  subscription
Feedly Filtering And Sorting
Enhance the feedly website with advanced filtering and sorting capabilities
Stars: ✭ 73 (-64.9%)
Mutual labels:  subscription
Purchases Flutter
Flutter in-app purchases and subscriptions made easy. iOS and Android support.
Stars: ✭ 181 (-12.98%)
Mutual labels:  subscription
Android Inappbilling
A sample which uses Google's Play Billing Library and it does InApp Purchases and Subscriptions.
Stars: ✭ 114 (-45.19%)
Mutual labels:  subscription
Vue Supply
Create resources that can automatically be activated and deactivated when used (like subscriptions)
Stars: ✭ 162 (-22.12%)
Mutual labels:  subscription
Apphudsdk
Build, Measure and Grow iOS subscription business
Stars: ✭ 93 (-55.29%)
Mutual labels:  subscription
Flare
Flare is a service that notify changes of HTTP endpoints
Stars: ✭ 110 (-47.12%)
Mutual labels:  subscription
Follow Github Organisation
Get notified when a new repository is created in a GitHub organisation
Stars: ✭ 143 (-31.25%)
Mutual labels:  subscription
Alfa
Effortless React State Management.
Stars: ✭ 86 (-58.65%)
Mutual labels:  subscription
Memberprism2
open source alternative to memberstack / memberspace , but with both front and backend member-only content protection
Stars: ✭ 171 (-17.79%)
Mutual labels:  subscription
Knockoutjs Reactor
Recursively tracks changes within a view model no matter how deeply nested the observables are or whether they are nested within dynamically created array elements.
Stars: ✭ 77 (-62.98%)
Mutual labels:  subscription
The Economist Ebooks
经济学人(含音频)、纽约客、自然、新科学人、卫报、科学美国人、连线、大西洋月刊、新闻周刊、国家地理等英语杂志免费下载、订阅(kindle推送),支持epub、mobi、pdf格式, 每周更新. The Economist 、The New Yorker 、Nature、The Atlantic 、New Scientist、The Guardian、Scientific American、Wired、Newsweek magazines, free download and subscription for kindle, mobi、epub、pdf format.
Stars: ✭ 3,471 (+1568.75%)
Mutual labels:  subscription
Amazon Mws
Amazon MWS NodeJS Wrapper
Stars: ✭ 196 (-5.77%)
Mutual labels:  subscription
Graphene Django Subscriptions
This package adds support to Subscription's requests and its integration with websockets using Channels package.
Stars: ✭ 173 (-16.83%)
Mutual labels:  subscription
Saas Boilerplate
SaaS boilerplate built in Laravel, Bootstrap 4 and VueJs.
Stars: ✭ 152 (-26.92%)
Mutual labels:  subscription

RevenueCat
React Native in-app subscriptions made easy

What is react-native-purchases?

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.

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

Requirements

The minimum React Native version this SDK requires is 0.58.

Installation

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.

Add the library to the project

$ npm install react-native-purchases --save or $ yarn add react-native-purchases

Link library to the project

$ react-native link react-native-purchases

Additional iOS Setup

If your project uses Cocoapods

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

In your 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.

Manual installation (if your project doesn't use CocoapodsCreate)

Make a Framework Reference in your project
  1. Drag Purchases.framework and PurchasesHybridCommon.framework from the RNPurchasessub-project under the libraries section to the outer project and create a reference.

Add iOS Frameworks to Embedded Binaries
  1. In Xcode, in project manager, select your app target.
  2. Select the general tab
  3. Drag Purchases.framework and PurchasesHybridCommon.framework from your project to the Embedded Binaries section

Add $(PROJECT_DIR)/../node_modules/react-native-purchases/ios to Framework Search paths in build settings

Add Strip Frameworks Phase

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.

  1. In Xcode, in project manager, select your app target.
  2. Open the Build Phases tab
  3. Add a new Run Script, name it Strip Frameworks
  4. Add the following command "${PROJECT_DIR}/../node_modules/react-native-purchases/ios/strip-frameworks.sh" (quotes included)

Link static library

The 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:

Getting Started

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].