beeminder / BeeSwift

Official Beeminder for iOS app
Other
29 stars 5 forks source link

Don't sync healthkit data from before goal creation #358

Closed theospears closed 1 year ago

theospears commented 1 year ago

Previously when connecting healthkit to a goal we would always sync the last 7 days of data, even if the goal was newly created. This could insta-derail do less goals, and add too much safety buffer to do-more goals. Now we check for the goal creation date, and do not sync data points from before this date.

Fixes #334

Test Plan: Created a new goal and observed it only received one data point