Hi,
I have discovered some inconsistencies with keeping a countdown timer in sync with the clock on a watchface.
What I do is to display the clock time at the top of the watchface, and below that, the remaining days, hours and minutes to a specific date in the future (hard coded Moment at this stage)
So I get the now Moment, and then subtract it from the future event Moment to get a difference.
From this I calculate the remaining days, hours and minutes and update the label on the view.
But, I have found that testing this in the simulator works as expected. The clock and countdown timer's values match.
E.g. if the clock is 09:58
And the future event is at 11:00
The count down timer displays
0 days
1 hour
2 minutes
But when I run it on the actual watch itself, the count down timer always has the minutes out of sync and would display
0 days
1 hour
3 minutes
I have also found that when I set the watch time manually in order to test on the watch, it still seem to get the wrong clock time (not the manually entered time, but the GPS time).
I have read another post about the onUpdate and the seconds being forced to 00. I am wondering if my issue has got something to do with this?
It is really confusing.
H