Cloud Infrastructure Setup

Nucleic-Session: 5AC77C62-A729-42E5-A368-1142C3B9E695
This commit is contained in:
Nucleic
2026-06-26 15:35:04 -07:00
parent d0e50f896e
commit a2ab883035
@@ -12,6 +12,9 @@ struct NucleicRemoteApp: App {
.environmentObject(store)
.onAppear {
store.onAppear()
// Surface the notifications prompt + register for APNS. The token rides along
// in the sync Hello; the relay uses it to wake the phone for approvals (§3).
PushRegistrar.shared.requestAuthorizationAndRegister()
// Anonymous, opt-out, once-a-day DAU heartbeat (docs/CLOUD_INFRA.md §4).
Task { await HeartbeatReporter.reportIfDue() }
}