You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Chris Emerson (JIRA)" <ji...@apache.org> on 2013/09/25 11:42:02 UTC

[jira] [Created] (CB-4911) Custom AndroidManifest.xml changes being overwritten each $ cordova build

Chris Emerson created CB-4911:
---------------------------------

             Summary: Custom AndroidManifest.xml changes being overwritten each $ cordova build
                 Key: CB-4911
                 URL: https://issues.apache.org/jira/browse/CB-4911
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android, CLI
    Affects Versions: 3.0.0
         Environment: OSX Mountain Lion / Android Dev Tools v22.0.1-685705 / Cordova CLI 3.0
            Reporter: Chris Emerson


I put the following in my AndroidManifest.xml's <activity> node so the app will would resume, not restart each time the user returns to it: android:launchMode="singleTask". However - every time I run $ cordova build my AndroidManifest.xml files loses this setting so I have to retype it each time.

I would think either the setting should just stay put or an equivalent flag could be put in the cordova config.xml so this (and other?) Android settings are retained after each cordova build.

My apologies if this issue already exists in another form here - so far I haven't found anything using search (but search is slow so I haven't searched a ton).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira