Update SDK to 26.04.23 (#5478)

updated sdk, and added error management on the send LLS API
This commit is contained in:
Mauro
2026-04-24 13:07:16 +02:00
committed by GitHub
parent a9fae7b4e7
commit 5d1132c75b
9 changed files with 773 additions and 39 deletions
@@ -278,7 +278,13 @@ class LiveLocationManager: NSObject, LiveLocationManagerProtocol, CLLocationMana
case .success:
MXLog.debug("Sent live location to room: \(roomID)")
case .failure(let error):
MXLog.error("Failed to send live location update to room \(roomID): \(error)")
switch error {
case .liveLocationSessionIsNotActive:
MXLog.error("Failed to send live locatio update to room \(roomID): session not active")
await stopLiveLocation(roomID: roomID)
default:
MXLog.error("Failed to send live location update to room \(roomID): \(error)")
}
}
}
}