From 55bbc301ef0ebd8e918d1d052df26aa8843d1ffa Mon Sep 17 00:00:00 2001 From: Mauro Romito Date: Tue, 28 Jul 2026 17:12:40 +0200 Subject: [PATCH] update sdk to 26-7-28 --- ElementX.xcodeproj/project.pbxproj | 2 +- .../xcshareddata/swiftpm/Package.resolved | 6 +++--- .../Services/Authentication/AuthenticationService.swift | 2 +- .../Services/Authentication/LinkNewDeviceService.swift | 4 ++-- project.yml | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ElementX.xcodeproj/project.pbxproj b/ElementX.xcodeproj/project.pbxproj index 5adb8deff..93aee240f 100644 --- a/ElementX.xcodeproj/project.pbxproj +++ b/ElementX.xcodeproj/project.pbxproj @@ -10413,7 +10413,7 @@ repositoryURL = "https://github.com/element-hq/matrix-rust-components-swift"; requirement = { kind = exactVersion; - version = 26.07.23; + version = 26.07.28; }; }; 701C7BEF8F70F7A83E852DCC /* XCRemoteSwiftPackageReference "GZIP" */ = { diff --git a/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index b88157cd2..2e0e8e4af 100644 --- a/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -1,5 +1,5 @@ { - "originHash" : "955b4c95c42ada6beddc92bee1a458af7d72f06e19aa73a0900f636a4bef8edb", + "originHash" : "8695e92a09c543da9f94741ab3087985e336ad7c44e87d1c14cede284e65b225", "pins" : [ { "identity" : "compound-design-tokens", @@ -167,8 +167,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/element-hq/matrix-rust-components-swift", "state" : { - "revision" : "321acddc58800641c0398598859febea17974646", - "version" : "26.7.23" + "revision" : "af0cbc94741f39cc3e175e0449bbfae10f9436b0", + "version" : "26.7.28" } }, { diff --git a/ElementX/Sources/Services/Authentication/AuthenticationService.swift b/ElementX/Sources/Services/Authentication/AuthenticationService.swift index 0c2d653e2..19c7a6fd1 100644 --- a/ElementX/Sources/Services/Authentication/AuthenticationService.swift +++ b/ElementX/Sources/Services/Authentication/AuthenticationService.swift @@ -378,7 +378,7 @@ private extension HumanQrLoginError { .qrCodeError(.deviceNotSignedIn) case .UnsupportedQrCodeType: .qrCodeError(.invalidQRCode) - case .Unknown, .OAuthMetadataInvalid, .CheckCodeAlreadySent, .CheckCodeCannotBeSent: + case .Unknown, .OAuthMetadataInvalid, .CheckCodeAlreadySent, .CheckCodeCannotBeSent, .ContinuationCannotBeSent, .ContinuationAlreadySent: .qrCodeError(.unknown) } } diff --git a/ElementX/Sources/Services/Authentication/LinkNewDeviceService.swift b/ElementX/Sources/Services/Authentication/LinkNewDeviceService.swift index 5bace9d10..6c7d80b1d 100644 --- a/ElementX/Sources/Services/Authentication/LinkNewDeviceService.swift +++ b/ElementX/Sources/Services/Authentication/LinkNewDeviceService.swift @@ -163,7 +163,7 @@ extension LinkNewDeviceService.LinkMobileProgress: CustomStringConvertible { throw Error.invalidQRCodeData } case .qrScanned(let checkCodeSender): .qrScanned(.init(underlyingSender: checkCodeSender)) - case .waitingForAuth(let verificationURI): + case .waitingForAuth(let verificationURI, _): // verificationURI is a String; ASWebAuthenticationSession requires a URL. if let url = URL(string: verificationURI) { .waitingForAuthorisation(verificationURL: url) @@ -194,7 +194,7 @@ extension LinkNewDeviceService.LinkDesktopProgress: CustomStringConvertible { self = switch rustProgress { case .starting: .starting case .establishingSecureChannel(_, let checkCodeString): .establishingSecureChannel(checkCodeString: checkCodeString) - case .waitingForAuth(let verificationURI): + case .waitingForAuth(let verificationURI, _): // verificationURI is a String; ASWebAuthenticationSession requires a URL. if let url = URL(string: verificationURI) { .waitingForAuthorisation(verificationURL: url) diff --git a/project.yml b/project.yml index e50a4305f..b59d6eda3 100644 --- a/project.yml +++ b/project.yml @@ -74,7 +74,7 @@ packages: # Element/Matrix dependencies MatrixRustSDK: url: https://github.com/element-hq/matrix-rust-components-swift - exactVersion: 26.07.23 + exactVersion: 26.07.28 # path: ../matrix-rust-sdk Compound: path: compound-ios