mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Update SDK to 26.04.23 (#5478)
updated sdk, and added error management on the send LLS API
This commit is contained in:
@@ -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)")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user