Live Activity Launch Consistency
Nucleic-Session: 9D2EE9AB-2E44-485B-A196-54D250F9D89B Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -634,6 +634,9 @@ final class RemoteStore: ObservableObject {
|
|||||||
// the glance cold when work starts before the app is opened.
|
// the glance cold when work starts before the app is opened.
|
||||||
self.syncLiveActivityRegistration()
|
self.syncLiveActivityRegistration()
|
||||||
self.syncPushToStartRegistration()
|
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
|
cb.openSnapshot = { [weak self] snap in
|
||||||
guard let self, hostID == self.openSessionHostID, snap.summary.sessionID == self.openSessionID else { return }
|
guard let self, hostID == self.openSessionHostID, snap.summary.sessionID == self.openSessionID else { return }
|
||||||
|
|||||||
Reference in New Issue
Block a user