Is it possible to make an app automatically turn off itself once it’s been in background for 10 minutes?
For instance, even when you press android’s hardware home button, app will keep running in background. It will save the last status of app and will load that status once you turn it on again.
But I would like to completely shut it down after 10 mins.
How do you guys deal with this? Is there any cordova command for that?