Setup RevenueCat App
Natively uses RevenueCat service to integrate In-App Purchases for iOS & Android apps.
Last updated
Was this helpful?
Natively uses RevenueCat service to integrate In-App Purchases for iOS & Android apps.
Last updated
Was this helpful?
makes implementing in-app purchases and subscriptions easy by handling all purchase validation operations. With RevenueCat, you can allow users to purchase subscriptions, make sure your user pays for some features, and more. You can use to setup Stripe,
Integrating the RevenueCat in your app comprises of the following steps:
Follow the first 3 steps of the following guide by RevenueCat to create and configure your RevenueCat app:
After successfully creating Android/iOS app in the RevenueCat you need to link it with the Natively. For such purpose, follow the next steps:
Open your Natively's app dashboard from desktop
Go to Features -> Purchases and enable it.
And finally, order a new build. We will inject the following keys into your app bundle.
Before incorporating subscriptions into your app, you will first need to create the subscription products in the Google Play Store and App Stores.
To create a subscription product in the Google Play Store:
Open the Subscriptions tab (from the left side menu). Check if you see Create subscription button. If you do, you can skip this step.
If you see a message saying 'Your app doesn't have any in-app products yet' like in this picture:
You will need to complete the following steps:
Download the AAB or APK file of your app, that was delivered on your email (or from the Natively portal)
Go to the Play Store. Open your Closed testing track and create a new release.
Upload your App Bundle or APK, enter the Release name and create the release.
Go back to Google Play Console and open the Subscriptions tab again. It should let you manage subscriptions now.
To create a subscription product in App Store:
Make sure that the state of your purchases is Ready to Submit.
RevenueCat uses an Entitlements system to control access to premium features, and Offerings to manage the set of products you offer to customers.
After the creation, the Products, Entitlements, and Offers will look like this:
To allow RevenueCat servers to communicate with Google on your behalf, please follow the instructions present on this page:
To connect the RevenueCat servers to App Store, follow the instructions present on this page:
And this one:
If you are new to RevenueCat, it's recommended you read this first:
Enter your Public app-specific API Keys to relevant fields. You can find it in your project API Keys -> Public app-specific API keys
Open your app on the .
Now, follow by RevenueCat to configure your products or subscriptions on Google Play.
Open and navigate to your app.
Follow by RevenueCat to configure your products or subscriptions for App Store
Navigate to the page and sign the Paid Apps agreement. The state must be Active before making purchases, even in the sandbox mode.
Navigate the page and add sandbox testers. Make sure to confirm the emails of all sandbox testers.
Learn more about configuring products in RevenueCat .
To use a Stripe with Android & iOS subscription/products, check page for more details.
Test on Android: To create test users to try Play Store purchases in the sandbox mode, follow by RevenueCat. You need to create a test user, configure licensing testing, create a closed track, and add a tester.
Test on iOS: To create test users to try App Store purchases in the sandbox mode, follow by RevenueCat.