-
• #2
Thanks for the stack trace (in this and the other issue you reported).
As @user140377 pointed out in https://forum.espruino.com/conversations/392195/#comment17212081 both your issues seem to be to do with a variable
m
being overwritten (in this case we can see it's with a number).I'd be willing to bet that one of the widgets you've made writes to a (non-local) variable called
m
, and that's what is causing the issues. -
• #4
I erased it and for now, im just trying out a bit before going to sleep, it seems to finally be counting :)
When I did factory reset it also worked for about an hour or so and then stopped. So will be giving more feedback tomorrow after a full day -
• #6
Thanks for that! All looks good - there is actually a linter automatically run on commits - for instance on yours, https://github.com/espruino/BangleApps/actions/runs/7052443444/job/19197489992 - under
Test all apps and widgets
nothing is displayed after the sanity check = no problems found :)
Hi,
i've had the bangle.js 2 for a couple weeks now. After like 3 days of use I realised the health app wasn't recording my steps and is very inconsistent with the heart and movement recording also. I randomly get in the console following error:
I have listened to, as a test, in another app the step event and it seems to get the event but just this app isn't working. I have even tried to do a factory reset and just installing the health app, to rule out any of my code or playing around having had influence and it still doesn't work.
Would be glad to get some help, thanks