incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Willoughby (JIRA)" <>
Subject [jira] [Created] (CB-1260) Support exit-on-suspend config.xml preference on Cordova Android
Date Fri, 17 Aug 2012 22:04:37 GMT
Ryan Willoughby created CB-1260:

             Summary: Support exit-on-suspend config.xml preference on Cordova Android
                 Key: CB-1260
             Project: Apache Cordova
          Issue Type: New Feature
          Components: Android
            Reporter: Ryan Willoughby
            Assignee: Joe Bowser

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:

<preference name="exit-on-suspend" value="true" />

onStop() {
    if (config.getPref("exit-on-suspend") == true) {

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

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message