cozie-app / cozie-apple

https://cozie-apple.app
GNU Lesser General Public License v3.0
15 stars 9 forks source link

Last_time_synced should be created and saved in the app on not rely on the web API #53

Closed mariofrei closed 6 months ago

mariofrei commented 2 years ago

Is your feature request related to a problem? Please describe. Currently, the read API provides the newest timestamp of the heart rate data. This timestamp is need used to limit the query of the HealthKit data in the app. The downside is that if the read API is down, the app might crash.

Describe the solution you'd like the last_time_sync timestamp should be generated and kept in the app.

Describe alternatives you've considered -

Additional context -

mariofrei commented 6 months ago

This is solved in Cozie v3.