Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-6766

Appcelerator Studio: LiveView does not compile for each targeted platform on update

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      Appcelerator Studio 3.3
      Ti SDK 3.3
      Alloy 1.4

    • Story Points:
      8

      Description

      When working in Appcelerator Studio with LiveView enabled, you can connect multiple devices - Android / iOS. When you make a change to the code all devices will update.

      The problem is that if you update the code to reflect a platform specific UI or feature, then you will notice that the code only updates on the last targeted platform compile.

      Ex.

      I have a view

      ~~~
      <Alloy>
      <View>
      <Label> I am iOS </Label>
      </View>
      </Alloy>
      ~~~

      I go ahead and build for IOS Simulator with LiveView enabled, i see the expected behavior is i will see "I am iOS".

      Now i will build for Android Simulator with LiveView enabled, as expected i see "I am IOS".

      Now i want to change the code to the follwing:

      ~~~
      <Alloy>
      <View>
      <Label> I am Android </Label>
      </View>
      </Alloy>
      ~~~

      As both simulators now update you notice you will see the following:

      Android shows "I am Android" as expected.

      iOS shows "I am iOS" which is not expected.

      The reason for this is that the alloy compile was only for one platform - the last platform that was targeted as part of a studio build.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bgrantges@appcelerator.com Bert Grantges (Inactive)
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: