mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-22 01:27:27 +00:00
ios, android, desktop: badge page on the dev deployment
This commit is contained in:
1 parent
ed4569e815
commit
acc918d71b
2 files changed
+8
-8
No files matched your search
@@ -30,9 +30,9 @@ let badgeProductIds: [String] = BadgeLevel.allCases.flatMap { level in
|
||||
}
|
||||
|
||||
// the page's app flag rides in the fragment, which never reaches the service
|
||||
let badgePageUrl = "https://badges.simplex.chat/#/tier?app=true"
|
||||
// the dev deployment, for testing store purchases: swap with the line above
|
||||
// let badgePageUrl = "https://smp7.simplex.im/#/tier?app=true"
|
||||
let badgePageUrl = "https://smp7.simplex.im/#/tier?app=true"
|
||||
// production, for release builds: swap with the line above
|
||||
// let badgePageUrl = "https://badges.simplex.chat/#/tier?app=true"
|
||||
|
||||
// where the store allows a link out to the badge page: the US for now, a set expected to widen.
|
||||
// An unknown storefront does not count, as this decides whether the store sees a link out of the app.
|
||||
|
||||
+5
-5
@@ -50,11 +50,11 @@ val badgeOneTimeProductIds: Set<String> = badgeStoreProductIds.filter { it.baseP
|
||||
|
||||
// the page's app flag rides in the fragment, which never reaches the service
|
||||
fun badgePageUrl(linkReturns: Boolean): String =
|
||||
if (linkReturns) "https://badges.simplex.chat/#/tier?app=true"
|
||||
else "https://badges.simplex.chat/#/tier?app=desktop"
|
||||
// the dev deployment, for testing store purchases: swap with the two lines above
|
||||
// if (linkReturns) "https://smp7.simplex.im/#/tier?app=true"
|
||||
// else "https://smp7.simplex.im/#/tier?app=desktop"
|
||||
if (linkReturns) "https://smp7.simplex.im/#/tier?app=true"
|
||||
else "https://smp7.simplex.im/#/tier?app=desktop"
|
||||
// production, for release builds: swap with the two lines above
|
||||
// if (linkReturns) "https://badges.simplex.chat/#/tier?app=true"
|
||||
// else "https://badges.simplex.chat/#/tier?app=desktop"
|
||||
|
||||
// where the store allows a link out to the badge page: the US for now, a set expected to widen.
|
||||
// An unknown country does not count, as this decides whether the store sees a link out of the app.
|
||||
|
||||
Reference in new issue
Block a user