A couple of months ago I released wrist-list a todo list for Fitbit OS devices.

Almost immediately I found a bug, if you left the list unattended for more than two minutes it would exit back to your clock face. This month I released an update to fix the problem.


It turns out that the Fitbit SDK documentation does cover applications timing out after inactivity. I fixed it by adding this code

import { me } from "appbit";
me.appTimeoutEnabled = false;

It is a bit fiddly to work with as the emulator does not support it so the emulator will still kill the app after inactivity, however it works as expected on a real device.