You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2017/07/17 21:02:00 UTC

[jira] [Resolved] (CB-7683) Android strings aren't added in upgrade process to 3.6.3

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

Joe Bowser resolved CB-7683.
----------------------------
    Resolution: Won't Fix

We're deprecating upgrade for the CLI workflow in favour of removing and re-adding the platform.  If you need to manipulate the project structure, you should do so manually using the standalone use case.

> Android strings aren't added in upgrade process to 3.6.3
> --------------------------------------------------------
>
>                 Key: CB-7683
>                 URL: https://issues.apache.org/jira/browse/CB-7683
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-android, cordova-cli
>    Affects Versions: 3.6.3
>         Environment: {Xubuntu 13.10 x86_64} {node -v = v0.10.25} {npm -v = 2.0.2} {cordova -v = 3.6.3-0.2.13}
>            Reporter: Frederico Costa Galvão
>            Priority: Minor
>
> The new strings added to *./platforms/android/res/values/strings.xml* exist correctly on a newly created project, but don't in an upgraded project.
> After upgrading my project from 3.5.0 to 3.6.3:
> {code:xml}
> <string name="app_name">Bacon</string>
> {code}
> Expected:
> {code:xml}
> <string name="app_name">Bacon</string>
> <string name="launcher_name">@string/app_name</string>
> <string name="activity_name">@string/launcher_name</string>
> {code}
> Also, in AndroidManifest.xml I expected
> {code:xml}
> <activity android:label="@string/app_name"></actitivy>
> <intent-filter></intent-filter>
> {code}
> to become the following (it didn't), after the upgrade:
> {code:xml}
> <activity android:label="@string/activity_name"></activity>
> <intent-filter android:label="@string/launcher_name"></intent-filter>
> {code}
> I don't quite know how or whether the project actually needs those strings or if they can infer them from the *app_name* string somewhere else, but it's nonetheless a bug, considering the upgrade process should take a project up to par with a newly created one.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org