Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: ohuc/CaffeineHealth

Tags

v2.2.2

Toggle v2.2.2's commit message
Fix Health Connect two-way sync and bump version to v2.2.2-beta.2

- Add name field to NutritionRecord so drinks show their actual name instead of generic 'Meal'
- Use clientRecordId + clientRecordVersion for idempotent upserts (edits no longer duplicate in HC)
- Propagate edits, deletes, duplicates, and Reset Today to Health Connect
- Add READ_NUTRITION permission and import caffeine records from other apps (30-day window, deduplicated)
- Widget quick-log now pushes to Health Connect
- DB migration 9→10 adds healthConnectRecordId column to track imported records

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

v2.2.2-beta.2

Toggle v2.2.2-beta.2's commit message
Fix Health Connect two-way sync and bump version to v2.2.2-beta.2

- Add name field to NutritionRecord so drinks show their actual name instead of generic 'Meal'
- Use clientRecordId + clientRecordVersion for idempotent upserts (edits no longer duplicate in HC)
- Propagate edits, deletes, duplicates, and Reset Today to Health Connect
- Add READ_NUTRITION permission and import caffeine records from other apps (30-day window, deduplicated)
- Widget quick-log now pushes to Health Connect
- DB migration 9→10 adds healthConnectRecordId column to track imported records

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

v2.2.2-beta.1

Toggle v2.2.2-beta.1's commit message
Release v2.2.2-beta.1

v2.2

Toggle v2.2's commit message
Fix chart marker overlap and clipping

Reduce `MarkerImageRadius` to 12.dp and implement `mergeProximateMarkers` in
`ChartDataGenerator` to group consumption entries within 30 minutes of each
other, preventing visual icon overlap. Additionally, add a `clipRect` to the
marker layer canvas to ensure icons do not draw outside the vertical chart
bounds.

v2.1

Toggle v2.1's commit message
Fix F-Droid build: use standard compileSdk syntax, bump to 2.1

compileSdk { version = release(36) { minorApiLevel = 1 } } requires the
Android Extension SDK platform package which is not installed in F-Droid's
build environment. Standard compileSdk = 36 is equivalent for this app.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

v2.0

Toggle v2.0's commit message
Fix release build: remove corrupted lint output from OnboardingCompon…

…ents, add missing English strings

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

v1.5

Toggle v1.5's commit message
Add backup and restore functionality and UI tests

* Implement `BackupManager` to handle JSON-based export and import of consumption logs, user settings, and custom drink presets.
* Add `MyDataSettingsScreen` allowing users to export data to a file or import via merge/replace modes.
* Include `ic_coffee_cup.xml` vector resource for UI use.
* Add Instrumented tests for `AnalyticsBySourcePage` and `AnalyticsScreen` to verify data display and empty states.
* Add Unit tests for `CaffeineChart` to ensure correct line series and live marker sampling.

v1.0

Toggle v1.0's commit message
Disable APK dependency metadata for release builds