From 1dc6f59c4b3454b12e9dfac46c5edb77b414eff6 Mon Sep 17 00:00:00 2001 From: Aleksandar Ilic Date: Thu, 7 Nov 2024 16:52:14 +0100 Subject: [PATCH] Fix AOSP compile issues --- .../primal/android/wallet/store/AospBillingClient.kt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/app/src/aosp/kotlin/net/primal/android/wallet/store/AospBillingClient.kt b/app/src/aosp/kotlin/net/primal/android/wallet/store/AospBillingClient.kt index 5c5970134..42a059da5 100644 --- a/app/src/aosp/kotlin/net/primal/android/wallet/store/AospBillingClient.kt +++ b/app/src/aosp/kotlin/net/primal/android/wallet/store/AospBillingClient.kt @@ -14,14 +14,17 @@ import net.primal.android.wallet.store.domain.SubscriptionPurchase class AospBillingClient : PrimalBillingClient { override val satsPurchases: SharedFlow = MutableSharedFlow() + override val subscriptionPurchases: SharedFlow = MutableSharedFlow() - override val minSatsInAppProduct: InAppProduct? = null - override val subscriptionProducts: List = emptyList() + override suspend fun queryMinSatsProduct(): InAppProduct? = null + + override suspend fun querySubscriptionProducts(): List = emptyList() + + override suspend fun queryActiveSubscriptions(): List = emptyList() override suspend fun launchMinSatsBillingFlow(quote: SatsPurchaseQuote, activity: Activity) = Unit + override suspend fun launchSubscriptionBillingFlow(subscriptionProduct: SubscriptionProduct, activity: Activity) = Unit - - override suspend fun fetchBillingProducts() = Unit }