mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
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.
This commit is contained in:
@@ -11011,7 +11011,7 @@
|
|||||||
repositoryURL = "https://github.com/element-hq/element-call-ios";
|
repositoryURL = "https://github.com/element-hq/element-call-ios";
|
||||||
requirement = {
|
requirement = {
|
||||||
kind = exactVersion;
|
kind = exactVersion;
|
||||||
version = "0.1.0-rc.9";
|
version = "0.1.0-rc.10";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
395DE6AE429B7ACC7C7FE31D /* XCRemoteSwiftPackageReference "KZFileWatchers" */ = {
|
395DE6AE429B7ACC7C7FE31D /* XCRemoteSwiftPackageReference "KZFileWatchers" */ = {
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
{
|
{
|
||||||
"originHash" : "a739f939cb837b0b30937fec185e667cc2888307defad784e62f2721dcabf234",
|
"originHash" : "fbdb76ae8c78e5a86db4812456fcb4da5795eed4bc8f6715726fec41e87a1e0f",
|
||||||
"pins" : [
|
"pins" : [
|
||||||
{
|
{
|
||||||
"identity" : "compound-design-tokens",
|
"identity" : "compound-design-tokens",
|
||||||
"kind" : "remoteSourceControl",
|
"kind" : "remoteSourceControl",
|
||||||
"location" : "https://github.com/element-hq/compound-design-tokens",
|
"location" : "https://github.com/element-hq/compound-design-tokens",
|
||||||
"state" : {
|
"state" : {
|
||||||
"revision" : "6f1abdeffe75aeebb2c5fc08b1c036e59522e10a",
|
"revision" : "28b921601ac0ff49a572b6f18526d97bd14e5d91",
|
||||||
"version" : "11.1.0"
|
"version" : "11.3.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -60,8 +60,8 @@
|
|||||||
"kind" : "remoteSourceControl",
|
"kind" : "remoteSourceControl",
|
||||||
"location" : "https://github.com/element-hq/element-call-ios",
|
"location" : "https://github.com/element-hq/element-call-ios",
|
||||||
"state" : {
|
"state" : {
|
||||||
"revision" : "a0c8d52b7305cf077d67d64604375e1659fbcc08",
|
"revision" : "74e4a10596119304a83708c6482fb7387a3b0247",
|
||||||
"version" : "0.1.0-rc.9"
|
"version" : "0.1.0-rc.10"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -185,8 +185,8 @@
|
|||||||
"kind" : "remoteSourceControl",
|
"kind" : "remoteSourceControl",
|
||||||
"location" : "https://github.com/element-hq/matrix-rust-rtc",
|
"location" : "https://github.com/element-hq/matrix-rust-rtc",
|
||||||
"state" : {
|
"state" : {
|
||||||
"revision" : "a889df4e8a2e5ff328cadc985b6647288a104704",
|
"revision" : "53880ef1ef66b62df555ce71ccd1d6c85b813596",
|
||||||
"version" : "0.4.0-rc.1"
|
"version" : "0.5.0-rc.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -56,20 +56,15 @@ final class NativeCallStack {
|
|||||||
|
|
||||||
func start() async {
|
func start() async {
|
||||||
Self.installRTCLogBridge()
|
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() {
|
func stop() {
|
||||||
MXLog.info("\(Self.logPrefix) Stopping the native call stack, in a call: \(controller.isInCall)")
|
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 {
|
if controller.isInCall {
|
||||||
controller.hangUp()
|
controller.hangUp()
|
||||||
}
|
}
|
||||||
|
|
||||||
stack.stop()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Starts, or returns to, the call in the room.
|
/// Starts, or returns to, the call in the room.
|
||||||
|
|||||||
@@ -110,6 +110,8 @@ struct NativeCallIcons: ElementCallIconRenderingProtocol {
|
|||||||
case .shareScreen: \.shareScreenSolid
|
case .shareScreen: \.shareScreenSolid
|
||||||
case .volumeOn: \.volumeOnSolid
|
case .volumeOn: \.volumeOnSolid
|
||||||
case .volumeOff: \.volumeOffSolid
|
case .volumeOff: \.volumeOffSolid
|
||||||
|
case .headphones: \.headphonesSolid
|
||||||
|
case .bluetooth: \.bluetoothOutput
|
||||||
case .raisedHand: \.raisedHandSolid
|
case .raisedHand: \.raisedHandSolid
|
||||||
case .userProfile: \.userProfileSolid
|
case .userProfile: \.userProfileSolid
|
||||||
case .overflow: \.overflowHorizontal
|
case .overflow: \.overflowHorizontal
|
||||||
|
|||||||
+3
-3
@@ -1,13 +1,13 @@
|
|||||||
{
|
{
|
||||||
"originHash" : "7a6117b3894e217e5bc0fe7497b0b868c49d51f41e0d8be554dc766cb9566ec9",
|
"originHash" : "43fad9d39aa61aa7add5e5768908e9ed7948ca1b8e8b61cf9b7b585f4e8fd1a7",
|
||||||
"pins" : [
|
"pins" : [
|
||||||
{
|
{
|
||||||
"identity" : "compound-design-tokens",
|
"identity" : "compound-design-tokens",
|
||||||
"kind" : "remoteSourceControl",
|
"kind" : "remoteSourceControl",
|
||||||
"location" : "https://github.com/element-hq/compound-design-tokens",
|
"location" : "https://github.com/element-hq/compound-design-tokens",
|
||||||
"state" : {
|
"state" : {
|
||||||
"revision" : "6f1abdeffe75aeebb2c5fc08b1c036e59522e10a",
|
"revision" : "28b921601ac0ff49a572b6f18526d97bd14e5d91",
|
||||||
"version" : "11.1.0"
|
"version" : "11.3.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
{
|
{
|
||||||
"originHash" : "7a6117b3894e217e5bc0fe7497b0b868c49d51f41e0d8be554dc766cb9566ec9",
|
"originHash" : "43fad9d39aa61aa7add5e5768908e9ed7948ca1b8e8b61cf9b7b585f4e8fd1a7",
|
||||||
"pins" : [
|
"pins" : [
|
||||||
{
|
{
|
||||||
"identity" : "compound-design-tokens",
|
"identity" : "compound-design-tokens",
|
||||||
"kind" : "remoteSourceControl",
|
"kind" : "remoteSourceControl",
|
||||||
"location" : "https://github.com/element-hq/compound-design-tokens",
|
"location" : "https://github.com/element-hq/compound-design-tokens",
|
||||||
"state" : {
|
"state" : {
|
||||||
"revision" : "6f1abdeffe75aeebb2c5fc08b1c036e59522e10a",
|
"revision" : "28b921601ac0ff49a572b6f18526d97bd14e5d91",
|
||||||
"version" : "11.1.0"
|
"version" : "11.3.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ let package = Package(
|
|||||||
.library(name: "Compound", targets: ["Compound"])
|
.library(name: "Compound", targets: ["Compound"])
|
||||||
],
|
],
|
||||||
dependencies: [
|
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(path: "../../compound-design-tokens"),
|
||||||
.package(url: "https://github.com/siteline/SwiftUI-Introspect", exact: "27.0.0"),
|
.package(url: "https://github.com/siteline/SwiftUI-Introspect", exact: "27.0.0"),
|
||||||
.package(url: "https://github.com/SFSafeSymbols/SFSafeSymbols", exact: "7.0.0"),
|
.package(url: "https://github.com/SFSafeSymbols/SFSafeSymbols", exact: "7.0.0"),
|
||||||
|
|||||||
+1
-1
@@ -81,7 +81,7 @@ packages:
|
|||||||
path: compound-ios
|
path: compound-ios
|
||||||
ElementCall:
|
ElementCall:
|
||||||
url: https://github.com/element-hq/element-call-ios
|
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
|
# path: ../element-call-ios
|
||||||
BuildExtensions:
|
BuildExtensions:
|
||||||
path: Components/BuildExtensions
|
path: Components/BuildExtensions
|
||||||
|
|||||||
Reference in New Issue
Block a user