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

how to disable auto-shutdown in an app?

ANSWERED

I wrote a tennis scorer app, and it works fine, except if the play stops for a few minutes, the app times out and closes. Stopping for a few minutes is usual between sets in tennis, so this makes my app useless. I tried adding a timer so there would be some activity, but this didn't help. How can I disable auto-shutdown?

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Set appTimeoutEnabled false.

Peter McLennan
Gondwana Software

View best answer in original post

Best Answer
3 REPLIES 3

Set appTimeoutEnabled false.

Peter McLennan
Gondwana Software
Best Answer

Thank you!

Best Answer
0 Votes

In case someone else needs this mod, the complete fix is:

import appbit from "appbit";
appbit.appTimeoutEnabled = false;

Best Answer