Live Activity Launch Consistency
Nucleic-Session: 9D2EE9AB-2E44-485B-A196-54D250F9D89B Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -359,6 +359,10 @@ final class RemoteStore: ObservableObject {
|
||||
func onForeground() {
|
||||
endBackgroundHold()
|
||||
guard !demoMode, isPaired else { return }
|
||||
// Foreground again: the app self-creates its own Live Activity now, so tell the hosts to stop
|
||||
// push-to-starting it (UX_IOS §5.3). Sent to already-live hosts; ones still reconnecting get
|
||||
// it via `didUpdate` once live.
|
||||
setForegroundState(true)
|
||||
pathMonitor.refresh()
|
||||
// Ensure a connection exists for every paired host (and drop unpaired); this re-dials the
|
||||
// ones already known to be offline.
|
||||
|
||||
Reference in New Issue
Block a user