From 93d483ccfae2bfdb17b9b0ad3a00ef55ee1eb31d Mon Sep 17 00:00:00 2001
From: Doug <6060466+pixlwave@users.noreply.github.com>
Date: Fri, 20 Jun 2025 13:59:25 +0100
Subject: [PATCH] Advertise support for `matrix` as a URL scheme. (#4236)
Internally everything is already in place to handle Matrix URIs as we support them within the app.
---
ElementX/SupportingFiles/Info.plist | 1 +
ElementX/SupportingFiles/target.yml | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/ElementX/SupportingFiles/Info.plist b/ElementX/SupportingFiles/Info.plist
index 9cb8f52b0..3322b60c5 100644
--- a/ElementX/SupportingFiles/Info.plist
+++ b/ElementX/SupportingFiles/Info.plist
@@ -55,6 +55,7 @@
CFBundleURLSchemes
$(BASE_BUNDLE_IDENTIFIER)
+ matrix
diff --git a/ElementX/SupportingFiles/target.yml b/ElementX/SupportingFiles/target.yml
index 50e75ce8b..638241276 100644
--- a/ElementX/SupportingFiles/target.yml
+++ b/ElementX/SupportingFiles/target.yml
@@ -62,7 +62,8 @@ targets:
CFBundleTypeRole: Editor,
CFBundleURLName: "Application",
CFBundleURLSchemes: [
- $(BASE_BUNDLE_IDENTIFIER)
+ $(BASE_BUNDLE_IDENTIFIER), # The app's own scheme for custom routes
+ "matrix" # Matrix URI scheme for permalinks
]
}
]