There was an error while loading. Please reload this page.
1 parent 4bd24c0 commit b85de8cCopy full SHA for b85de8c
1 file changed
ahbg/android/app/src/main/java/org/interdependency/ahbg/Entitlements.kt
@@ -4,6 +4,7 @@ import android.content.Context
4
import com.revenuecat.purchases.CustomerInfo
5
import com.revenuecat.purchases.Purchases
6
import com.revenuecat.purchases.PurchasesError
7
+import com.revenuecat.purchases.PurchasesConfiguration
8
import com.revenuecat.purchases.interfaces.ReceiveCustomerInfoCallback
9
10
/**
@@ -47,7 +48,7 @@ class RevenueCatPremiumStore(
47
48
49
init {
50
Purchases.configure(
- Purchases.Configuration.Builder(context.applicationContext, apiKey).build()
51
+ PurchasesConfiguration.Builder(context.applicationContext, apiKey).build()
52
)
53
Purchases.sharedInstance.getCustomerInfo(object : ReceiveCustomerInfoCallback {
54
override fun onReceived(customerInfo: CustomerInfo) {
0 commit comments