From 3f1bc2b21b7dd09019197d98dc8598ff8aed31a3 Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Mon, 8 Jul 2024 18:00:41 +0400 Subject: [PATCH] Update IAP --- .../Sources/InAppPurchaseManager.swift | 6 +++++- .../StarsPurchaseScreen/Sources/StarsPurchaseScreen.swift | 8 +++++++- versions.json | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/submodules/InAppPurchaseManager/Sources/InAppPurchaseManager.swift b/submodules/InAppPurchaseManager/Sources/InAppPurchaseManager.swift index 01096c7459..035fed2033 100644 --- a/submodules/InAppPurchaseManager/Sources/InAppPurchaseManager.swift +++ b/submodules/InAppPurchaseManager/Sources/InAppPurchaseManager.swift @@ -40,7 +40,11 @@ private let productIdentifiers = [ "org.telegram.telegramStars.topup.x750", "org.telegram.telegramStars.topup.x1000", "org.telegram.telegramStars.topup.x1500", - "org.telegram.telegramStars.topup.x2500" + "org.telegram.telegramStars.topup.x2500", + "org.telegram.telegramStars.topup.x5000", + "org.telegram.telegramStars.topup.x10000", + "org.telegram.telegramStars.topup.x25000", + "org.telegram.telegramStars.topup.x50000" ] private extension NSDecimalNumber { diff --git a/submodules/TelegramUI/Components/Stars/StarsPurchaseScreen/Sources/StarsPurchaseScreen.swift b/submodules/TelegramUI/Components/Stars/StarsPurchaseScreen/Sources/StarsPurchaseScreen.swift index 3808503034..a8063e4c44 100644 --- a/submodules/TelegramUI/Components/Stars/StarsPurchaseScreen/Sources/StarsPurchaseScreen.swift +++ b/submodules/TelegramUI/Components/Stars/StarsPurchaseScreen/Sources/StarsPurchaseScreen.swift @@ -288,13 +288,19 @@ private final class StarsPurchaseScreenContentComponent: CombinedComponent { 500: 4, 1000: 5, 2500: 6, + 25: 1, 50: 1, 100: 2, 150: 2, 350: 3, 750: 4, - 1500: 5 + 1500: 5, + + 5000: 6, + 10000: 6, + 25000: 7, + 50000: 7 ] let externalStateUpdated = context.component.stateUpdated diff --git a/versions.json b/versions.json index 0fd74872f9..2f50425e88 100644 --- a/versions.json +++ b/versions.json @@ -1,5 +1,5 @@ { - "app": "10.14.2", + "app": "10.14.3", "xcode": "15.2", "bazel": "7.1.1", "macos": "13.0"