Files
flutter/android
John Weidner a92897b2f9 feat: add automatic weight sync from Apple Health and Google Health Connect
Import body weight data from Apple Health (iOS) and Google Health Connect
(Android) into wger when the app is opened. Uses the Flutter `health` package
for cross-platform access. Feature is opt-in via a settings toggle.

Key changes:
- Add HealthSyncNotifier (Riverpod) for sync orchestration
- Add HealthSyncSettingsTile in settings page
- Add health package dependency and platform permissions
- Fix WeightEntry.copyWith parameter type (int? -> num?)
- Fix BodyWeightProvider.findByDate() to use calendar-date comparison
- Raise Android minSdkVersion to 26 (Health Connect requirement)
- Change MainActivity to extend FlutterFragmentActivity

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 14:12:49 -05:00
..
2021-12-06 17:23:29 +01:00
2025-11-25 21:10:33 +01:00
2021-04-21 10:04:07 +02:00
2025-11-25 21:10:33 +01:00
2025-11-25 21:10:33 +01:00