Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-5280

Android: Changing the name attribute of the tiapp.xml causes two applications to be installed.

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Release 1.8.0
    • Fix Version/s: None
    • Component/s: Android
    • Environment:

      OSX 10.7.1, SDK 1.8.0v20110909154949 (version=1.8.0, timestamp=09/09/11 15:49, githash=216ed79...), Titanium Studio build: 1.0.4.201108101535, Droid running Android 2.2.2.

      Also exists in SDK 1.7.2.

      Description

      Steps to reproduce:
      1) Import attached TiTest
      2) Change the name attribute of the tiapp.xml from TiTest to TiTestTwo
      3) Launch the project on device

      Expected results:
      One project named TiTestTwo is installed on the device

      Actual results:
      Two projects named TiTestTwo are installed on the device. However, when you go to Settings | Manage Applications, TiTestTwo only appears once. Uninstalling TiTestTwo will remove both TiTestTwo icons.

      Strangely this does not occur with the attached HelloWorldApp. The differences between the two is that the HelloWorldApp has the default android attributes:
      <android xmlns:android="http://schemas.android.com/apk/res/android"/>
      while the TiTest app has modified android attributes to lock the splash screen in landscape mode.
      TiTest's app.js is commented out for splash screen testing.
      HelloWorldApp is a iPad/iPhone/Android project, while TiTest is Android only.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                emerriman Eric Merriman
                Reporter:
                avaghti Alan Vaghti
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-4469
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code