Adjust DAI Metrics File
Nucleic-Session: E357FC5A-6454-41EE-9AA8-139CDB6779DA
This commit is contained in:
@@ -15,7 +15,7 @@ struct NucleicRemoteApp: App {
|
|||||||
// Surface the notifications prompt + register for APNS. The token rides along
|
// 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).
|
// in the sync Hello; the relay uses it to wake the phone for approvals (§3).
|
||||||
PushRegistrar.shared.requestAuthorizationAndRegister()
|
PushRegistrar.shared.requestAuthorizationAndRegister()
|
||||||
// Anonymous, opt-out, once-a-day DAU heartbeat (docs/CLOUD_INFRA.md §4).
|
// Anonymous, opt-out, once-a-day DAI heartbeat (docs/CLOUD_INFRA.md §4).
|
||||||
Task { await HeartbeatReporter.reportIfDue() }
|
Task { await HeartbeatReporter.reportIfDue() }
|
||||||
}
|
}
|
||||||
// Re-check on every foreground so a new active day is counted.
|
// Re-check on every foreground so a new active day is counted.
|
||||||
|
|||||||
Reference in New Issue
Block a user