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

Michal Mocny commented on CB-6772:
----------------------------------

This is a bug, you should not need to add the AndroidLaunchMode preference to 
set launchMode to singleTop.  The cause is that the cli prepare step does not 
parse the config which includes default.xml.  Seems it may never have, but its 
never been an issue before since most preferences were only used at runtime.

Will provide fix for this soon.

> Android Configuration lack AndroidLaunchMode preference
> -------------------------------------------------------
>
>                 Key: CB-6772
>                 URL: https://issues.apache.org/jira/browse/CB-6772
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Docs
>    Affects Versions: 3.5.0
>            Reporter: Gen Liu
>            Assignee: Michal Mocny
>
> Cordova 3.5.0 release note shows there is a new feature that allow user 
> change Android Activity launch mode.
> http://cordova.apache.org/announcements/2014/05/23/cordova-350.html
> It sounds interesting to me and I noticed cordova-android project can 
> generate a project use android:launchMode="singleTop" with 
> AndroidManifest.xml. But it will be override by cordova-cli. I found I must 
> add a preference to config.xml to make it appear in my project, which is not 
> mentioned in the Document:
> <preference name="AndroidLaunchMode" value="singleTop"/>
> Please add it to document.
> http://cordova.apache.org/docs/en/3.5.0/guide_platforms_android_config.md.html#Android%20Configuration



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to