Skip to content

Refresh the managed HealthKit interval on CGM status updates - #2584

Merged
ps2 merged 1 commit into
next-devfrom
fix/refresh-managed-data-interval
Oct 15, 2026
Merged

ps2 merged 1 commit into
next-devfrom
fix/refresh-managed-data-interval

Conversation

@ps2

@ps2 ps2 commented Oct 15, 2026

Copy link
Copy Markdown
Collaborator

glucoseStore.managedDataInterval was copied from the CGM manager only in setupCGM. A change therefore took effect only after the next launch. G7 now changes it when switching between direct and eavesdropping mode (LoopKit/G7SensorKit#95).

cgmManager(_:didUpdate:) now copies it again.

Related: LoopKit/LoopKit#651

Tested: simulator build of the LoopWorkspace scheme.

The glucose store's managedDataInterval was only copied from the CGM
manager at setup, so a change, such as G7 switching between direct and
eavesdropping mode, took effect only after the next launch.
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