New version available
Our version 3.0 SDK is available for Android with a more powerful way to organize and configure products remotely.
Installation
Purchases for Android is available on Maven and can be included via Gradle.
implementation 'com.revenuecat.purchases:purchases:2.4.1'
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
- Now that you've installed the Purchases SDK in your Android app, get started by configuring an instance of Purchases
Updated about a year ago