Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-6772

Android Configuration lack AndroidLaunchMode preference

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.5.0
    • None
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            mmocny Michal Mocny
            alsorunning Gen Liu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: