Skip to content
This repository was archived by the owner on Oct 17, 2025. It is now read-only.

Commit 148e392

Browse files
committed
chore(example): organize skus
1 parent acaa843 commit 148e392

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed
Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
package dev.hyo.martie
22

33
object IapConstants {
4-
private fun isHorizon(): Boolean =
5-
dev.hyo.martie.BuildConfig.OPENIAP_STORE.equals("horizon", ignoreCase = true)
6-
7-
private val HORIZON_INAPP = listOf(
4+
val INAPP_SKUS = listOf(
85
"dev.hyo.martie.10bulbs",
96
"dev.hyo.martie.30bulbs",
107
"dev.hyo.martie.certified" // Non-consumable
@@ -14,13 +11,4 @@ object IapConstants {
1411
"dev.hyo.martie.premium",
1512
"dev.hyo.martie.premium_year"
1613
)
17-
private val PLAY_SUBS = listOf(
18-
"dev.hyo.martie.premium",
19-
)
20-
21-
val INAPP_SKUS: List<String>
22-
get() = if (isHorizon()) HORIZON_INAPP else PLAY_INAPP
23-
24-
val SUBS_SKUS: List<String>
25-
get() = if (isHorizon()) HORIZON_SUBS else PLAY_SUBS
2614
}

0 commit comments

Comments
 (0)