From 613fc404cf33f976dd612ef2b9ce64848bc37485 Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Mon, 6 Jul 2026 20:05:32 -0700 Subject: [PATCH] Live Activity Launch Consistency Nucleic-Session: 9D2EE9AB-2E44-485B-A196-54D250F9D89B Co-authored-by: Nucleic --- NucleicRemote/NucleicRemote/Models/RemoteStore.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/NucleicRemote/NucleicRemote/Models/RemoteStore.swift b/NucleicRemote/NucleicRemote/Models/RemoteStore.swift index 4753405..e9dd926 100644 --- a/NucleicRemote/NucleicRemote/Models/RemoteStore.swift +++ b/NucleicRemote/NucleicRemote/Models/RemoteStore.swift @@ -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.