[fix] prevent stale device online status on iOS

This commit is contained in:
dijunkun
2026-09-07 20:57:30 +08:00
parent af729144fe
commit 19218a57f9
4 changed files with 261 additions and 57 deletions
@@ -28,6 +28,8 @@ struct ContentView: View {
.onChange(of: scenePhase) { phase in
if phase == .active {
session.refreshRecentConnectionPresenceAfterForeground()
} else if phase == .background {
session.suspendPresenceMonitoring()
}
}
}