Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FitBit Simulator 0.8.0 display.autoOff=false Versa 2

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.

 

 

 

 

Best Answer
0 Votes
2 REPLIES 2

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.

Best Answer
0 Votes

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.

Best Answer
0 Votes