Skip to content

Default usage data sharing to Share Version Only - #33

Merged
ps2 merged 1 commit into
next-devfrom
fix/usage-sharing-default
Oct 13, 2026
Merged

ps2 merged 1 commit into
next-devfrom
fix/usage-sharing-default

Conversation

@ps2

@ps2 ps2 commented Oct 13, 2026

Copy link
Copy Markdown
  • If com.loopkit.Loop.UsageDataPrivacyPreference has never been set, LoopKitAnalytics stores Share Version Only the first time it starts. Before this change, an unset preference meant nothing was sent, and Settings showed No Sharing. This covers installs that skipped onboarding or predate the preference.
  • Fixes a bug in onboarding. The Share Data screen showed Share Version Only checked, but the preference was only saved from onChange. Tapping Continue without touching an option therefore saved nothing. Continue now saves whatever choice is displayed.

Existing explicit choices, including No Sharing, are unchanged.

Tested by building the LoopWorkspace scheme for the simulator. The onboarding flow and Settings were not exercised.

If the preference has never been set, store Share Version Only on first
use instead of treating it as no sharing. Onboarding showed that option
checked, but the preference was only saved when the selection changed,
so tapping Continue without touching it saved nothing. Continue now
saves the displayed choice.
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