What is RevenueCat?
RevenueCat is a secure, reliable, and free to use in-app purchase server with cross-platform support. With the RevenueCat SDK, you can build and manage your app business on any platform without having to maintain purchase infrastructure. You can read more about how RevenueCat fits into your app or you can sign up free to start building.
Installation
Purchases for Android is available on Maven and can be included via Gradle.
implementation 'com.revenuecat.purchases:purchases:x.y.z'
Import 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
- Now that you've installed the Purchases SDK in your Android app, get started by configuring an instance of Purchases
Updated 5 days ago