From c998eb1fee6a7e76f6ebecce809286fc71e8e802 Mon Sep 17 00:00:00 2001 From: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com> Date: Fri, 16 Oct 2026 21:30:55 +0400 Subject: [PATCH] ios, android, desktop: use the production badge page --- apps/ios/Shared/Views/Badges/BadgeStore.swift | 6 +++--- .../chat/simplex/common/views/badges/BadgeStore.kt | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/ios/Shared/Views/Badges/BadgeStore.swift b/apps/ios/Shared/Views/Badges/BadgeStore.swift index 87485ec06d..0351884085 100644 --- a/apps/ios/Shared/Views/Badges/BadgeStore.swift +++ b/apps/ios/Shared/Views/Badges/BadgeStore.swift @@ -39,9 +39,9 @@ let badgePeriodsForSale: [BadgePeriod] = [.oneMonth] func newBadgeInvoiceId() -> UUID { UUID() } // the page's app flag rides in the fragment, which never reaches the service -// TEST ONLY: pointed at the dev deployment; restore the line below before merging -let badgePageUrl = "https://smp7.simplex.im/#/tier?app=true" -// let badgePageUrl = "https://badges.simplex.chat/#/tier?app=true" +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" // 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. diff --git a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/badges/BadgeStore.kt b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/badges/BadgeStore.kt index 4b37c6c7ba..ed971fc1e5 100644 --- a/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/badges/BadgeStore.kt +++ b/apps/multiplatform/common/src/commonMain/kotlin/chat/simplex/common/views/badges/BadgeStore.kt @@ -53,12 +53,12 @@ val badgePeriodsForSale: List = listOf(BadgePeriod.OneMonth) fun newBadgeInvoiceId(): String = UUID.randomUUID().toString() // the page's app flag rides in the fragment, which never reaches the service -// TEST ONLY: pointed at the dev deployment; restore the two lines below before merging fun badgePageUrl(linkReturns: Boolean): String = - if (linkReturns) "https://smp7.simplex.im/#/tier?app=true" - else "https://smp7.simplex.im/#/tier?app=desktop" -// if (linkReturns) "https://badges.simplex.chat/#/tier?app=true" -// else "https://badges.simplex.chat/#/tier?app=desktop" + 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" // 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.