Skip to content

Send usage telemetry by default and report each new build - #814

Open
bjorkert wants to merge 4 commits into
devfrom
feature/telemetry-cadence
Open

bjorkert wants to merge 4 commits into
devfrom
feature/telemetry-cadence

Conversation

@bjorkert

@bjorkert bjorkert commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Usage telemetry is on by default, the same way Trio does it. The consent sheet and the onboarding Privacy step are removed. Users who already chose No thanks or turned the toggle off keep that choice, since a stored false is always an explicit opt-out, and with sharing off nothing is sent.

The first launch of a new build (version, build date or commit) sends at once, so the server gets an early signal of updates. Otherwise the daily check runs at cold launch, on foreground and from the task scheduler. After a failed attempt it waits an hour, which also stops the immediate refires that happened when a send failed. Each request includes the commit, the trigger reason and the previous failure category.

The current lftelemetryapi accepts these check-ins; storing a same-day build change as its own row and keeping the commit and reason needs bjorkert/lftelemetryapi#2.

Telemetry is on unless the user turned it off; the consent sheet and the
onboarding step are gone, and a stored opt-out is kept. A new build is
reported on its first launch, and the daily check runs at launch, on
foreground and from the scheduler, with a one-hour wait after a failed
attempt. Installs that turned sharing off send a minimal daily check-in
with the app version, build and a random install ID.
# Conflicts:
#	LoopFollow/Helpers/Telemetry.swift
#	LoopFollow/Onboarding/OnboardingContainerView.swift
#	LoopFollow/Onboarding/OnboardingStep.swift
#	LoopFollow/Onboarding/OnboardingViewModel.swift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant