I am developping a watchface for Pebble Time 2 using Alloy framework.
I am trying to display a step counter but cannot find how to access health Data with Javascript framework.
I only find documentation about C code.
Is there a way to get the step count in an Alloy watchface ?
In conclusion, developers cannot use C code in Alloy app.
Because Alloy app implements this through a feature called mods, it cannot include native C code.
If you want to add an API that executes C code, you need to add a JavaScript API using XS in C to the host application on the PebbleOS side.