Acknowledged
CIQQA-3781

[bug] Steps complication value varies in format

For the Complications.complication object type 2 steps, it's Number value changes from steps to a Float value with thousands of steps after reaching 1000 steps.

Parents
  • This was first seen when Complications were added to CIQ.  You'll find it discussed in the forum.  It has to do with how steps are displayed in native watch faces, where instead of showing "12345", something like "12.3" can be easily shown, taking less screen space,

    The way I deal with this is that I use the actual count from ActivityMonitor for display, but have onPress still launcg the glance.

    Overall, the doc for what's seen with complications may be a bit vague, so when I started with complications, I wrote a simple test app that allowed me st select any complication to see what's actually returned on a real device, and in the case of steps vs pushes, when which is available.

Comment
  • This was first seen when Complications were added to CIQ.  You'll find it discussed in the forum.  It has to do with how steps are displayed in native watch faces, where instead of showing "12345", something like "12.3" can be easily shown, taking less screen space,

    The way I deal with this is that I use the actual count from ActivityMonitor for display, but have onPress still launcg the glance.

    Overall, the doc for what's seen with complications may be a bit vague, so when I started with complications, I wrote a simple test app that allowed me st select any complication to see what's actually returned on a real device, and in the case of steps vs pushes, when which is available.

Children