mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-22 12:19:55 +00:00
wip
This commit is contained in:
+1
-2
@@ -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()
|
||||
|
||||
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user