Launch Activity Logic

Nucleic-Session: EBB24271-3AB2-4CBD-A47A-59FC73500371
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-06 14:03:19 -07:00
co-authored by Nucleic
parent e6b29092ad
commit b803313477
@@ -230,6 +230,12 @@ final class RemoteStore: ObservableObject {
var canControl: Bool { grantedScope >= .control } var canControl: Bool { grantedScope >= .control }
/// The process-wide store. The SwiftUI `App` binds its `@StateObject` to this instance so the
/// UI and any headless entry point share one store — in particular the background push handler
/// (`PushAppDelegate`), which on a silent launch has no mounted scene (`onAppear` never fires)
/// and so must reach the store directly to bring it online and adopt a push-started Live Activity.
static let shared = RemoteStore()
private let identity = IdentityStore.loadOrCreateIdentity() private let identity = IdentityStore.loadOrCreateIdentity()
let discovery = LANDiscovery() let discovery = LANDiscovery()
/// Proactive network-path awareness (shared across every host connection): flips transports the /// Proactive network-path awareness (shared across every host connection): flips transports the