10-29-2019 13:27 - edited 10-29-2019 13:27
10-29-2019 13:27 - edited 10-29-2019 13:27
According to SDK 4.0 release announcement :https://dev.fitbit.com/blog/2019-10-29-announcing-fitbit-os-sdk-4.0/
autoOff - Overriding this value is not supported on Versa 2.
However, in the simulator with device type: Versa 2, and toggling Display off, a display.autoOff=false; and display.on=true; in my app will turn on the display.
10-30-2019 05:21
10-30-2019 05:21
The autoOff setting doesn't prevent manual toggling of the display power state: it only enables/disables the display timeout. The simulator doesn't implement the display timeout right now, so there it has no effect.
10-31-2019 10:29
10-31-2019 10:29
Thanks for the reply.
Any recommendations on how to test on a Versa 2? I was previously using clock.on_tick for a timer and have implemented setInterval instead. I left the code for display.autoOff in for Ionic/Versa watches, but want to make sure my timer is still ticking when Versa 2 display times out.