From ecced8ee4806ef88b2988e64286e8b60551ad1be Mon Sep 17 00:00:00 2001 From: Valere Fedronic Date: Fri, 9 Oct 2026 16:16:13 +0200 Subject: [PATCH] Bump element-call-ios to 0.1.0-rc.10 (#6303) * Bump element-call-ios to 0.1.0-rc.10 The release moves the RTC core to matrix-rust-rtc's room-first API, so the stack no longer needs starting or stopping: it subscribes to a room when a call opens it. It also adds headphones and Bluetooth audio output icons, mapped here to Compound's headphones icon. * Bump compound-design-tokens to 11.3.1 and use the Bluetooth output icon 11.3.1 adds the `bluetoothOutput` icon, replacing the `headphonesSolid` placeholder for the Bluetooth audio route in native calls. --- ElementX.xcodeproj/project.pbxproj | 2 +- .../xcshareddata/swiftpm/Package.resolved | 14 +++++++------- .../Services/NativeCall/NativeCallStack.swift | 7 +------ .../Services/NativeCall/NativeCallStyle.swift | 2 ++ .../xcshareddata/swiftpm/Package.resolved | 6 +++--- compound-ios/Package.resolved | 6 +++--- compound-ios/Package.swift | 2 +- project.yml | 2 +- 8 files changed, 19 insertions(+), 22 deletions(-) diff --git a/ElementX.xcodeproj/project.pbxproj b/ElementX.xcodeproj/project.pbxproj index d8bd3d853..fb026503e 100644 --- a/ElementX.xcodeproj/project.pbxproj +++ b/ElementX.xcodeproj/project.pbxproj @@ -11011,7 +11011,7 @@ repositoryURL = "https://github.com/element-hq/element-call-ios"; requirement = { kind = exactVersion; - version = "0.1.0-rc.9"; + version = "0.1.0-rc.10"; }; }; 395DE6AE429B7ACC7C7FE31D /* XCRemoteSwiftPackageReference "KZFileWatchers" */ = { diff --git a/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 3f80339ad..9b189545c 100644 --- a/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/ElementX.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -1,13 +1,13 @@ { - "originHash" : "a739f939cb837b0b30937fec185e667cc2888307defad784e62f2721dcabf234", + "originHash" : "fbdb76ae8c78e5a86db4812456fcb4da5795eed4bc8f6715726fec41e87a1e0f", "pins" : [ { "identity" : "compound-design-tokens", "kind" : "remoteSourceControl", "location" : "https://github.com/element-hq/compound-design-tokens", "state" : { - "revision" : "6f1abdeffe75aeebb2c5fc08b1c036e59522e10a", - "version" : "11.1.0" + "revision" : "28b921601ac0ff49a572b6f18526d97bd14e5d91", + "version" : "11.3.1" } }, { @@ -60,8 +60,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/element-hq/element-call-ios", "state" : { - "revision" : "a0c8d52b7305cf077d67d64604375e1659fbcc08", - "version" : "0.1.0-rc.9" + "revision" : "74e4a10596119304a83708c6482fb7387a3b0247", + "version" : "0.1.0-rc.10" } }, { @@ -185,8 +185,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/element-hq/matrix-rust-rtc", "state" : { - "revision" : "a889df4e8a2e5ff328cadc985b6647288a104704", - "version" : "0.4.0-rc.1" + "revision" : "53880ef1ef66b62df555ce71ccd1d6c85b813596", + "version" : "0.5.0-rc.2" } }, { diff --git a/ElementX/Sources/Services/NativeCall/NativeCallStack.swift b/ElementX/Sources/Services/NativeCall/NativeCallStack.swift index b2d2cc907..3d92b86ad 100644 --- a/ElementX/Sources/Services/NativeCall/NativeCallStack.swift +++ b/ElementX/Sources/Services/NativeCall/NativeCallStack.swift @@ -56,20 +56,15 @@ final class NativeCallStack { func start() async { Self.installRTCLogBridge() - await stack.start() } - /// Releases the stack along with the to-device subscription it holds open for key delivery. + /// Hangs up any call in progress. func stop() { MXLog.info("\(Self.logPrefix) Stopping the native call stack, in a call: \(controller.isInCall)") - // Best effort: the leave this starts may not finish before the core stops, but the - // alternative is walking away from the call without telling the room at all. if controller.isInCall { controller.hangUp() } - - stack.stop() } /// Starts, or returns to, the call in the room. diff --git a/ElementX/Sources/Services/NativeCall/NativeCallStyle.swift b/ElementX/Sources/Services/NativeCall/NativeCallStyle.swift index 5a11ac5cc..c8eb92cff 100644 --- a/ElementX/Sources/Services/NativeCall/NativeCallStyle.swift +++ b/ElementX/Sources/Services/NativeCall/NativeCallStyle.swift @@ -110,6 +110,8 @@ struct NativeCallIcons: ElementCallIconRenderingProtocol { case .shareScreen: \.shareScreenSolid case .volumeOn: \.volumeOnSolid case .volumeOff: \.volumeOffSolid + case .headphones: \.headphonesSolid + case .bluetooth: \.bluetoothOutput case .raisedHand: \.raisedHandSolid case .userProfile: \.userProfileSolid case .overflow: \.overflowHorizontal diff --git a/compound-ios/Inspector/Inspector.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/compound-ios/Inspector/Inspector.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index c6e65bbe4..c84ee1fca 100644 --- a/compound-ios/Inspector/Inspector.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/compound-ios/Inspector/Inspector.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -1,13 +1,13 @@ { - "originHash" : "7a6117b3894e217e5bc0fe7497b0b868c49d51f41e0d8be554dc766cb9566ec9", + "originHash" : "43fad9d39aa61aa7add5e5768908e9ed7948ca1b8e8b61cf9b7b585f4e8fd1a7", "pins" : [ { "identity" : "compound-design-tokens", "kind" : "remoteSourceControl", "location" : "https://github.com/element-hq/compound-design-tokens", "state" : { - "revision" : "6f1abdeffe75aeebb2c5fc08b1c036e59522e10a", - "version" : "11.1.0" + "revision" : "28b921601ac0ff49a572b6f18526d97bd14e5d91", + "version" : "11.3.1" } }, { diff --git a/compound-ios/Package.resolved b/compound-ios/Package.resolved index c6e65bbe4..c84ee1fca 100644 --- a/compound-ios/Package.resolved +++ b/compound-ios/Package.resolved @@ -1,13 +1,13 @@ { - "originHash" : "7a6117b3894e217e5bc0fe7497b0b868c49d51f41e0d8be554dc766cb9566ec9", + "originHash" : "43fad9d39aa61aa7add5e5768908e9ed7948ca1b8e8b61cf9b7b585f4e8fd1a7", "pins" : [ { "identity" : "compound-design-tokens", "kind" : "remoteSourceControl", "location" : "https://github.com/element-hq/compound-design-tokens", "state" : { - "revision" : "6f1abdeffe75aeebb2c5fc08b1c036e59522e10a", - "version" : "11.1.0" + "revision" : "28b921601ac0ff49a572b6f18526d97bd14e5d91", + "version" : "11.3.1" } }, { diff --git a/compound-ios/Package.swift b/compound-ios/Package.swift index d7441980b..f14c32c3d 100644 --- a/compound-ios/Package.swift +++ b/compound-ios/Package.swift @@ -9,7 +9,7 @@ let package = Package( .library(name: "Compound", targets: ["Compound"]) ], dependencies: [ - .package(url: "https://github.com/element-hq/compound-design-tokens", exact: "11.1.0"), + .package(url: "https://github.com/element-hq/compound-design-tokens", exact: "11.3.1"), // .package(path: "../../compound-design-tokens"), .package(url: "https://github.com/siteline/SwiftUI-Introspect", exact: "27.0.0"), .package(url: "https://github.com/SFSafeSymbols/SFSafeSymbols", exact: "7.0.0"), diff --git a/project.yml b/project.yml index 5e6204b37..3d2b61c26 100644 --- a/project.yml +++ b/project.yml @@ -81,7 +81,7 @@ packages: path: compound-ios ElementCall: url: https://github.com/element-hq/element-call-ios - exactVersion: 0.1.0-rc.9 + exactVersion: 0.1.0-rc.10 # path: ../element-call-ios BuildExtensions: path: Components/BuildExtensions