[ 
https://issues.apache.org/jira/browse/CB-4911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13777550#comment-13777550
 ] 

Braden Shepherdson commented on CB-4911:
----------------------------------------

This is a surprise to me; I thought we were modifying this file, not blowing it 
away.

We have some upcoming changes coming to the flow of config.xml files and other 
such updates, that should allow putting this setting into your top-level 
config.xml. That will be some time, though.
                
> 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
>              Labels: Android, CLI, androidmanifest.xml, config.xml,
>
> 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

Reply via email to