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

LiveView: Alloy: changes are applied to all running devices/platforms, applying the latest compiled code

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 3.1.2
    • Fix Version/s: Release 3.2.1, Release 3.3.0
    • Component/s: LiveView
    • Environment:

      Titanium SDK 3.1.2.v20130809141556
      Alloy 1.2.0-alpha6
      Appcelerator Studio 3.1.2.201308091728
      CLI 3.1.2-alpha
      Node 0.10.13
      LiveView: 0.1.32

      Description

      Problem description

      LiveView changes are applied to all running devices/platforms. However the latest compiled code is applied, potentially generating wrong and unexpected behaviors.

      When building an Alloy project on iOS simulator, for example, also the Android emulator is being updated by LiveView (and vice versa).

      In this case, the compiled code being used is the one optimized for iOS, so likely generating unexpected behaviors on the Android emulator (for example, platform conditionals being applied are the one relative to the iOS platform, not Android).

      Steps to reproduce

      1. Grab the sample project code attached
      2. Build for Android emulator
      Result: App runs, Windows has 'blue' backgroundColor
      3. Build for iOS simulator
      Result: iOS app runs and has 'gray' backgroundColor. However also the Android app on the emulator is being modified, now displaying the 'gray' backgroundColor too.
      This is not expected as the backgroundColor is defined into platform specific folders.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pinnamuri Praveen Innamuri (Inactive)
                Reporter:
                fcasali Federico Casali
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Source Code