beeminder / BeeSwift

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

Update HealthKit on app launch #440

Closed theospears closed 4 months ago

theospears commented 4 months ago

Always update health metrics from apple before syncing with the server, for example on app launch. Because beeminder often update goals async, this doesn't guarantee that we will always show correct data reflecting the latest healthkit data, but should increase the chance. As the app polls for goals which are recalculating it means it should also show the correct data shortly after loading.

This might help a little with perceived Apple Health unreliabilty.

Testing: Launched the app on a real device and observed data

theospears commented 4 months ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @theospears and the rest of your teammates on Graphite Graphite