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

How to keep an app from exiting after a few minutes?

I have an app that works fine but seems to exit after a few minutes. The app has 'Run in Background' permissions. I plan on adding log messages to see if an exception is being thrown but I wanted to know if there is a call I need to make to keep the app from exiting, something like a 'keep alive' call?

 

thanks

Best Answer
0 Votes
1 REPLY 1

I just found the answer.

 

import {me} from "appbit";

me.appTimeoutEnabled = false;

Best Answer
0 Votes