cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michal Mocny (JIRA)" <>
Subject [jira] [Commented] (CB-6772) Android Configuration lack AndroidLaunchMode preference
Date Fri, 30 May 2014 18:15:03 GMT


Michal Mocny commented on CB-6772:

After taking another look, I decided not to stir the bees nest.  I think this is more of a
one off.

My argument was that "launchMode" is less runtime, not more.  Its not queried at runtime at
all, its only used during prepare, and defaults.xml is not possible to use for such settings.

> 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