05-09-2021 03:47
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-09-2021 03:47
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi,
So I've done some searching around the forum but cannot find anything related. I'm looking to add a message/animation when the user completes their daily goal however I am having difficulty with how to achieve the "if" part due to variables obviously resetting on reload of the clock. Are there any examples or tips anyone can give?
Thanks!

05-09-2021 13:30
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


05-09-2021 13:30
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Have you considered onreachgoal?
Gondwana Software

05-11-2021 10:49
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

05-11-2021 10:49
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Thanks, this looks like the sort of thing I was looking for but, for the life of me, I couldn't get it to enter either in the simulator or on my Fitbit when testing live results. I was testing with a console log and outputting goal (e.g. is the goal steps, yes it was) and then what the goal was and what the current was, right before the onreachgoal and then I was reaching this but never getting the console log/never entering the if statement.

