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

Android strings aren't added in upgrade process to 3.6.3

    XMLWordPrintableJSON

Details

    Description

      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:

      <string name="app_name">Bacon</string>
      

      Expected:

      <string name="app_name">Bacon</string>
      <string name="launcher_name">@string/app_name</string>
      <string name="activity_name">@string/launcher_name</string>
      

      Also, in AndroidManifest.xml I expected

      <activity android:label="@string/app_name"></actitivy>
      <intent-filter></intent-filter>
      

      to become the following (it didn't), after the upgrade:

      <activity android:label="@string/activity_name"></activity>
      <intent-filter android:label="@string/launcher_name"></intent-filter>
      

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kikoalemao Frederico Costa Galvão
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: