cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frederico Costa Galvão (JIRA) <j...@apache.org>
Subject [jira] [Commented] (CB-6772) Android Configuration lack AndroidLaunchMode preference
Date Wed, 01 Oct 2014 18:46:34 GMT

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

Frederico Costa Galvão commented on CB-6772:
--------------------------------------------

Well, sad news: the bug still kinda exists.

I just upgraded to 3.6.3 (on the process) and just cheked again: if I don't have the android:launchMode
in my *AndroidManifest.xml* previously, and don't have the preference in my root *config.xml*,
a *"cordova compile" still doesn't apply the default desired value*.

The desired behaviour, as far as I know, is that even if I don't supply a value for this setting
in my root config.xml, the parser *should output the default value for that setting onto AndroidManifest.xml
everytime a "prepare" is performed, regardless of whether it was there in the first place
or not*.

> 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.3.4#6332)

Mime
View raw message