Files
Roland Geider 1dda51b6f6 Use the platform's daily totals for summed metrics on iOS
Steps, distance and active energy were added up from the raw HealthKit
samples, so a day recorded by both an iPhone and an Apple Watch was
counted twice. Android already takes the deduplicated total from Health
Connect for such days; iOS now does the same through HealthKit's
statistics query, which resolves overlapping sources by the user's
priority like the Health app does.

Existing iOS installs read the history of these metrics once more on
their next sync, which corrects the days stored with the raw sum.

See wger-project/wger#2608
2026-11-24 16:23:56 +01:00
..
2026-11-24 16:22:16 +01:00