Use a different scheme for Element Call in the form of io.element.call:/?url=some_url

This commit is contained in:
Stefan Ceriu
2023-09-19 15:56:14 +03:00
committed by Stefan Ceriu
parent 501c3aed23
commit f95331d3a6
7 changed files with 43 additions and 21 deletions
@@ -27,7 +27,7 @@ class AppRouteURLParserTests: XCTestCase {
XCTAssertEqual(AppRouteURLParser(appSettings: ServiceLocator.shared.settings).route(from: url), AppRoute.genericCallLink(url: url))
guard let customSchemeURL = URL(string: "element://call?url=https%3A%2F%2Fcall.element.io%2Ftest") else {
guard let customSchemeURL = URL(string: "io.element.call:/?url=https%3A%2F%2Fcall.element.io%2Ftest") else {
XCTFail("URL invalid")
return
}