Live Activity Launch Consistency

Nucleic-Session: 9D2EE9AB-2E44-485B-A196-54D250F9D89B
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-06 20:05:32 -07:00
co-authored by Nucleic
parent fb57ad4399
commit 613fc404cf
@@ -359,6 +359,10 @@ final class RemoteStore: ObservableObject {
func onForeground() { func onForeground() {
endBackgroundHold() endBackgroundHold()
guard !demoMode, isPaired else { return } 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() pathMonitor.refresh()
// Ensure a connection exists for every paired host (and drop unpaired); this re-dials the // Ensure a connection exists for every paired host (and drop unpaired); this re-dials the
// ones already known to be offline. // ones already known to be offline.