Add methods to verify and purchase subscriptions

This commit is contained in:
albexk
2024-10-30 17:35:33 +03:00
committed by NickVs2015
parent 8dda8e2834
commit fb524a1bab
8 changed files with 299 additions and 80 deletions
@@ -6,5 +6,8 @@ import android.content.Context
class BillingPaymentRepository(@Suppress("UNUSED_PARAMETER") context: Context) : BillingRepository {
override suspend fun getCountryCode(): String = ""
override suspend fun getSubscriptionPlans(): String = ""
override suspend fun purchaseSubscription(activity: Activity): String = ""
override suspend fun purchaseSubscription(activity: Activity, offerToken: String): String = ""
override suspend fun upgradeSubscription(activity: Activity, offerToken: String, oldPurchaseToken: String): String = ""
override suspend fun acknowledge(purchaseToken: String): String = ""
override suspend fun queryPurchases(): String = ""
}