RevenueCat

Build With RevenueCat

Build a customized mobile subscription business with RevenueCat. We do the heavy lifting of normalizing subscribers from any source and maintain a single source of truth for subscription status, so you can get back to building your app.

RevenueCat is a powerful, secure, reliable, and free to use in-app purchase server with global support. All you need to get started is an API key.

Android

Instructions for installing Purchases SDK for Android

What is RevenueCat?

RevenueCat is a scalable backend for in-app subscriptions and purchases. With RevenueCat, you can build and manage your mobile app business without having to set up or maintain any purchase infrastructure. Here you can read more about how RevenueCat fits into your app.

Installation

Purchases for Android is available on Maven and can be included via Gradle.

implementation 'com.revenuecat.purchases:purchases:3.1.0'

Importing Purchases

You should now be able in import Purchases

import com.android.billingclient.api.SkuDetails;
import com.revenuecat.purchases.Entitlement;
import com.revenuecat.purchases.Offering;
import com.revenuecat.purchases.PurchaserInfo;
import com.revenuecat.purchases.Purchases;

Configure Proguard

You should add -keep class com.revenuecat.purchases.** { *; } to your Proguard configuration.

Next Steps

Updated 16 days ago

Android


Instructions for installing Purchases SDK for Android

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.