From 67238ee7b9bbf0a985c6cded80efd6bc2130e55c Mon Sep 17 00:00:00 2001 From: Akmal Xodarev <260483356+BusyaPrime@users.noreply.github.com> Date: Fri, 10 Jul 2026 14:10:12 +0500 Subject: [PATCH 1/4] OpenIn: add CASVA to location options --- submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift b/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift index dc427f26f21..3b09d9ab9e4 100644 --- a/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift +++ b/submodules/OpenInExternalAppUI/Sources/OpenInOptions.swift @@ -305,6 +305,10 @@ private func allOpenInOptions(context: AccountContext, item: OpenInItem) -> [Ope return .openUrl(url: "dgis://2gis.ru/geo/\(coordinates)") } })) + + options.append(OpenInOption(identifier: "casva", application: .other(title: "CASVA", identifier: 1603197837, scheme: "casva", store: "uz"), action: { + return .openUrl(url: "casva://location?lat=\(lat)&lon=\(lon)") + })) options.append(OpenInOption(identifier: "moovit", application: .other(title: "Moovit", identifier: 498477945, scheme: "moovit", store: nil), action: { if let _ = directions { From 464eb439716dd157515c6e4d7c9c0f5cfd7baab6 Mon Sep 17 00:00:00 2001 From: Akmal Xodarev <260483356+BusyaPrime@users.noreply.github.com> Date: Fri, 10 Jul 2026 14:10:15 +0500 Subject: [PATCH 2/4] Info.plist: whitelist casva scheme for canOpenURL --- Telegram/Telegram-iOS/Info.plist | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/Telegram-iOS/Info.plist b/Telegram/Telegram-iOS/Info.plist index a34aee90c56..f9a1653dba6 100644 --- a/Telegram/Telegram-iOS/Info.plist +++ b/Telegram/Telegram-iOS/Info.plist @@ -259,6 +259,7 @@ moovit alook dgis + casva microsoft-edge-http brave onionhttp From f22bbad13c7b489679ab964d72dc1f6a1fd95c91 Mon Sep 17 00:00:00 2001 From: Akmal Xodarev <260483356+BusyaPrime@users.noreply.github.com> Date: Fri, 10 Jul 2026 14:10:17 +0500 Subject: [PATCH 3/4] InfoBazel.plist: whitelist casva scheme --- Telegram/Telegram-iOS/InfoBazel.plist | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/Telegram-iOS/InfoBazel.plist b/Telegram/Telegram-iOS/InfoBazel.plist index ae1b92de458..1e839a2251a 100644 --- a/Telegram/Telegram-iOS/InfoBazel.plist +++ b/Telegram/Telegram-iOS/InfoBazel.plist @@ -93,6 +93,7 @@ moovit alook dgis + casva microsoft-edge-http brave onionhttp From 56e3df0eae24b978c14a0df80968287701c2057b Mon Sep 17 00:00:00 2001 From: Akmal Xodarev <260483356+BusyaPrime@users.noreply.github.com> Date: Fri, 10 Jul 2026 14:10:44 +0500 Subject: [PATCH 4/4] BUILD: whitelist casva scheme --- Telegram/BUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/BUILD b/Telegram/BUILD index ef5fa5dbdfe..506f5a49ced 100644 --- a/Telegram/BUILD +++ b/Telegram/BUILD @@ -1610,6 +1610,7 @@ plist_fragment( moovit alook dgis + casva microsoft-edge-http brave onionhttp