Skip to content

Commit b85de8c

Browse files
fix(ahbg): use PurchasesConfiguration for RevenueCat v8 SDK
1 parent 4bd24c0 commit b85de8c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ahbg/android/app/src/main/java/org/interdependency/ahbg/Entitlements.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import android.content.Context
44
import com.revenuecat.purchases.CustomerInfo
55
import com.revenuecat.purchases.Purchases
66
import com.revenuecat.purchases.PurchasesError
7+
import com.revenuecat.purchases.PurchasesConfiguration
78
import com.revenuecat.purchases.interfaces.ReceiveCustomerInfoCallback
89

910
/**
@@ -47,7 +48,7 @@ class RevenueCatPremiumStore(
4748

4849
init {
4950
Purchases.configure(
50-
Purchases.Configuration.Builder(context.applicationContext, apiKey).build()
51+
PurchasesConfiguration.Builder(context.applicationContext, apiKey).build()
5152
)
5253
Purchases.sharedInstance.getCustomerInfo(object : ReceiveCustomerInfoCallback {
5354
override fun onReceived(customerInfo: CustomerInfo) {

0 commit comments

Comments
 (0)