This commit is contained in:
spaced4ndy
2026-08-17 16:14:31 +04:00
parent 6ad3b14d58
commit 0ef81d2fbe
2 changed files with 1 additions and 4 deletions
@@ -34,8 +34,7 @@ interface PlatformInterface {
fun androidIsXiaomiDevice(): Boolean = false
// Requests the Google Play account country into [androidPlayStoreCountry]
fun androidLoadPlayStoreCountry() {}
// Play Billing, only implemented in the google flavor. A single Play query cannot mix product
// types, so the ids are passed already grouped.
// Play Billing, only implemented in the google flavor
// TODO [badges] desktop and foss pay via Stripe/crypto - these defaults leave them without any
// product until that path is implemented
suspend fun androidLoadBadgeProducts(oneTimeIds: List<String>, subscriptionIds: List<String>): List<BadgeProduct> = emptyList()
@@ -21,8 +21,6 @@ fun badgeProductId(level: BadgeLevel, period: BadgePeriod): String = when (level
}
}
// the store sells one-time products and subscriptions through separate APIs, and a single Play
// query cannot mix them
enum class BadgeProductType { OneTime, Subscription }
val BadgePeriod.productType: BadgeProductType