cordova-issues mailing list archives

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


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:
>             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.
> 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.

This message was sent by Atlassian JIRA

View raw message