From fb57ad43990dc18d1e5babcf677719bbe01f6a4f Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Mon, 6 Jul 2026 20:05:27 -0700 Subject: [PATCH] Live Activity Launch Consistency Nucleic-Session: 9D2EE9AB-2E44-485B-A196-54D250F9D89B Co-authored-by: Nucleic --- NucleicRemote/NucleicRemote/Models/RemoteStore.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NucleicRemote/NucleicRemote/Models/RemoteStore.swift b/NucleicRemote/NucleicRemote/Models/RemoteStore.swift index 4d388f5..4753405 100644 --- a/NucleicRemote/NucleicRemote/Models/RemoteStore.swift +++ b/NucleicRemote/NucleicRemote/Models/RemoteStore.swift @@ -634,6 +634,9 @@ final class RemoteStore: ObservableObject { // the glance cold when work starts before the app is opened. self.syncLiveActivityRegistration() self.syncPushToStartRegistration() + // …and the current foreground state, so it push-to-starts the glance itself when the app + // is backgrounded rather than waiting on a self-create that can't happen (UX_IOS §5.3). + self.syncForegroundState() } cb.openSnapshot = { [weak self] snap in guard let self, hostID == self.openSessionHostID, snap.summary.sessionID == self.openSessionID else { return }