cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Braden Shepherdson (JIRA)" <>
Subject [jira] [Commented] (CB-4911) Custom AndroidManifest.xml changes being overwritten each $ cordova build
Date Wed, 25 Sep 2013 14:26:02 GMT


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,
> Custom AndroidManifest.xml changes being overwritten each $ cordova build
> -------------------------------------------------------------------------
>                 Key: CB-4911
>                 URL:
>             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
>            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:

View raw message