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

Avoiding return to home screen.

ANSWERED

When my app is open and the screen turns off, it returns to the home screen after a few seconds. How can I do to not return to home screen and avoid leaving my app screen?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

You said it returns to the home screen after a few seconds.  Could this be 2 minutes instead?

If so, you may be running into the app timeout feature which causes an app to exit after 2 minutes of inactivity (defined by the display being off).  Take a look at the App-Timeout-API:

https://dev.fitbit.com/blog/2018-10-05-announcing-fitbit-os-2.2/#app-timeout-api

John

View best answer in original post

Best Answer
0 Votes
3 REPLIES 3

You will have to post your code. I have had many instances of my screen turning off but it always returned to the same screen it turned off at.

Best Answer
0 Votes

You said it returns to the home screen after a few seconds.  Could this be 2 minutes instead?

If so, you may be running into the app timeout feature which causes an app to exit after 2 minutes of inactivity (defined by the display being off).  Take a look at the App-Timeout-API:

https://dev.fitbit.com/blog/2018-10-05-announcing-fitbit-os-2.2/#app-timeout-api

John

Best Answer
0 Votes

Solved. Thank you very much.

Best Answer
0 Votes