How do I keep an app running forever after the display turns off?
In the app, if I turn display on and keep it on, the app runs.
If I start the app let the display automatically turn off after 10 seconds, the app will close after 1 minute of the display being off
While im using the app, I can keep it running forever if I orient the watch to look at the clock - display turns on
Answered! Go to the Best Answer.
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Take a look at the app timeout api. https://dev.fitbit.com/blog/2018-10-05-announcing-fitbit-os-2.2/#app-timeout-api
In lieu of having the display always on, I've set a timer to turn the display on every 30 seconds and let the autoOff setting turn it back off.
This works, but I'd still like to find a solution instead of workaround.
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Take a look at the app timeout api. https://dev.fitbit.com/blog/2018-10-05-announcing-fitbit-os-2.2/#app-timeout-api