Ionic app shutting down


#1

heya

I’m developing an application with ionic and cordova to track time spent at a location
the problem is the app should be active for about 10 hours a day and the user shouldnt always be in the application (the app should keep active in the background, which it does) but when it is in the background android can decide to kill the application to free memory, is there a way to stop this

regards,
Bakil


#2

If this is an default android feature ( just guessing, I’m not sure if it is ), then chances are you can prevent this.