You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Michal Mocny (JIRA)" <ji...@apache.org> on 2014/04/24 22:45:22 UTC

[jira] [Resolved] (CB-6501) Add launch-mode for Android

     [ https://issues.apache.org/jira/browse/CB-6501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michal Mocny resolved CB-6501.
------------------------------

       Resolution: Fixed
    Fix Version/s: 3.5.0

Preference name is "AndroidLaunchMode" and valid values are: ['standard', 'singleTop', 'singleTask', 'singleInstance'].  Not having any preference set will default to singleTop (because of androids default.xml), while using any invalid value will warn and use the default launch mode set by Android.

> Add launch-mode <preference> for Android
> ----------------------------------------
>
>                 Key: CB-6501
>                 URL: https://issues.apache.org/jira/browse/CB-6501
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android, CLI, Docs
>            Reporter: Andrew Grieve
>            Assignee: Michal Mocny
>            Priority: Minor
>             Fix For: 3.5.0
>
>
> Via pull request: https://github.com/apache/cordova-cli/pull/164
> and related:
> https://groups.google.com/forum/#!topic/phonegap/8E5C6phqQA4
> https://groups.google.com/forum/#!topic/phonegap/R08vOZNm580
> Idea is to map a <preference> to the AndroidManifest.xml launchMode attribute.



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