Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0ECDF1949C for ; Sun, 20 Mar 2016 19:13:34 +0000 (UTC) Received: (qmail 10497 invoked by uid 500); 20 Mar 2016 19:13:33 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 10454 invoked by uid 500); 20 Mar 2016 19:13:33 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 10285 invoked by uid 99); 20 Mar 2016 19:13:33 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Mar 2016 19:13:33 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 86CC22C1F5A for ; Sun, 20 Mar 2016 19:13:33 +0000 (UTC) Date: Sun, 20 Mar 2016 19:13:33 +0000 (UTC) From: "Jacob Weber (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CB-10917) android-activityName doesn't set value correctly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-10917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacob Weber updated CB-10917: ----------------------------- Summary: android-activityName doesn't set value correctly (was: android-activityName doesn't value correctly) > android-activityName doesn't set value correctly > ------------------------------------------------ > > Key: CB-10917 > URL: https://issues.apache.org/jira/browse/CB-10917 > Project: Apache Cordova > Issue Type: Bug > Components: Android > Affects Versions: 5.1.1 > Reporter: Jacob Weber > Priority: Minor > > {{android-activityName}} in config.xml is undocumented, but it's necessary for making older apps work with the latest version of Cordova; once you've published an app, you can't change the activity name. > But if you set {{android-activityName="Foo"}}, it will set {{}} in the manifest. According to the [Android docs|http://developer.android.com/guide/topics/manifest/activity-element.html#nm], the value should start with a period, e.g. {{}}. > I have already published an app with the period, so I have to manually add it to the manifest before publishing. > Since this could break compatibility with existing apps if you start inserting the period now, maybe a workaround would be: if {{android-activityName}} starts with a period, use it in the manifest, but remove it when creating the Java file. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org