nvrsion: promote trunk to dev
Nucleic-Promote: 1
This commit is contained in:
@@ -2,7 +2,7 @@ import Foundation
|
||||
import Security
|
||||
import NucleicProtocol
|
||||
|
||||
/// Sends the iPhone client's anonymous DAU heartbeat at most once per day
|
||||
/// Sends the iPhone client's anonymous DAI (daily active installs) heartbeat at most once per day
|
||||
/// (`docs/CLOUD_INFRA.md` §4). Opt-out (default on) via `HeartbeatSettings`; debug builds never
|
||||
/// report. The install ID is a random UUID kept only in the Keychain, deliberately **separate**
|
||||
/// from the device's Noise identity (`IdentityStore`) so telemetry can't be correlated with it.
|
||||
|
||||
@@ -15,7 +15,7 @@ struct NucleicRemoteApp: App {
|
||||
// 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).
|
||||
// Anonymous, opt-out, once-a-day DAI heartbeat (docs/CLOUD_INFRA.md §4).
|
||||
Task { await HeartbeatReporter.reportIfDue() }
|
||||
}
|
||||
// Re-check on every foreground so a new active day is counted.
|
||||
|
||||
Reference in New Issue
Block a user