-
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Describe the bug
I can't find a simple way to check the session connectivity.
Playing with the iPad's wifi connection, I should get disconnection events, but not.
Also when wifi is off, client.isActive returns true
To Reproduce
my listener:
closeListenerTask = Task {
let listener = client.addCloseListener(named: "closeListener") { result in
switch result {
case .success:
// connected
case .failure(let error):
//disconnected with error
}
}
}Expected behavior
When the wifi goes off (or device looses connection in general), I should receive connection/disconnection events
Context (please complete the following information):
- Platform iPad OS 18.6
- Swif Version: 5.9
- Xcode Version 16.4
Metadata
Metadata
Assignees
Labels
No labels