Launch Activity Logic
Nucleic-Session: EBB24271-3AB2-4CBD-A47A-59FC73500371 Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -230,6 +230,12 @@ final class RemoteStore: ObservableObject {
|
||||
|
||||
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()
|
||||
let discovery = LANDiscovery()
|
||||
/// Proactive network-path awareness (shared across every host connection): flips transports the
|
||||
|
||||
Reference in New Issue
Block a user