Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
None
Description
I'd like to see the exit-on-suspend preference that is currently supported by IOS get supported by Android. Here's how I naively see it happening:
Config.xml:
<preference name="exit-on-suspend" value="true" />
MainActivity.java:
@Override onStop() { super.onStop(); if (config.getPref("exit-on-suspend") == true) { finish() } }
I'm assuming it would be a matter of:
- adding the above snippet to the main android activity template in PG
- possibly adding support for exit-on-suspend to the class that loads the config