We are building an app that collect steps counts.
We are testing on an Apple Watch. Our case scenario is that tester uses both iPhone and watch during the day then removes the Watch around 10.30pm and goes to bed. iPhone is always within 2m of the watch so within range for a sync.
Our tester usually checks the app in the morning and when the app opens, we are collecting the steps from HealthKit that occurred until 11h59mn59s last night. At this stage, we do believe that the watch did synchronise (maybe multiple times) with Health App during the night so Health Data and steps count returned by HealthKit should be the same.
However, we can observe that the app data always shows a (small) difference compare to the Health App.
(One can note that it works fine when our tester only uses an iPhone for the steps count.)
Does anyone know how often the Apple Watch does sync with the Health App and where is the flaw in our approach?
Thanks!