From 1c1da3f89b6e634a479377e88c020be2c223ce19 Mon Sep 17 00:00:00 2001 From: Yulchiev Alijon <61898002+JanobA99@users.noreply.github.com> Date: Mon, 20 Jul 2026 12:45:12 +0500 Subject: [PATCH] Add Hamroh (uz.mobilex.hamroh) to Open-in location list Adds the Hamroh navigation app (Uzbekistan) to the location "Open in..." options, following #2227 (CASVA). --- Telegram/BUILD | 1 + Telegram/Telegram-iOS/Info.plist | 1 + Telegram/Telegram-iOS/InfoBazel.plist | 1 + submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift | 4 ++++ 4 files changed, 7 insertions(+) diff --git a/Telegram/BUILD b/Telegram/BUILD index ef5fa5dbdfe..86ae4f55088 100644 --- a/Telegram/BUILD +++ b/Telegram/BUILD @@ -1610,6 +1610,7 @@ plist_fragment( moovit alook dgis + hamroh microsoft-edge-http brave onionhttp diff --git a/Telegram/Telegram-iOS/Info.plist b/Telegram/Telegram-iOS/Info.plist index a34aee90c56..f48d3bd111f 100644 --- a/Telegram/Telegram-iOS/Info.plist +++ b/Telegram/Telegram-iOS/Info.plist @@ -259,6 +259,7 @@ moovit alook dgis + hamroh microsoft-edge-http brave onionhttp diff --git a/Telegram/Telegram-iOS/InfoBazel.plist b/Telegram/Telegram-iOS/InfoBazel.plist index ae1b92de458..16c621de2de 100644 --- a/Telegram/Telegram-iOS/InfoBazel.plist +++ b/Telegram/Telegram-iOS/InfoBazel.plist @@ -93,6 +93,7 @@ moovit alook dgis + hamroh microsoft-edge-http brave onionhttp diff --git a/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift b/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift index dc427f26f21..2134b35fd8d 100644 --- a/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift +++ b/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift @@ -306,6 +306,10 @@ private func allOpenInOptions(context: AccountContext, item: OpenInItem) -> [Ope } })) + options.append(OpenInOption(identifier: "hamroh", application: .other(title: "Hamroh", identifier: 6745878978, scheme: "hamroh", store: "uz"), action: { + return .openUrl(url: "hamroh://location?lat=\(lat)&lon=\(lon)") + })) + options.append(OpenInOption(identifier: "moovit", application: .other(title: "Moovit", identifier: 498477945, scheme: "moovit", store: nil), action: { if let _ = directions { let destName: String