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

Windows: Titanium.version does not return correct values

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 4.1.0
    • Fix Version/s: Release 4.1.0
    • Component/s: Windows
    • Labels:
    • Environment:

      Windows 8.1
      Ti CLI: 4.1.0-dev
      Ti SDK: 4.1.0.v20150616225249
      Lumia 928: 8.1
      Windows Phone emulator 8-1-1

    • Story Points:
      5
    • Sprint:
      2015 Sprint 13 Windows

      Description

      Description

      When getting the version, buildHash and buildDate properties they are logged as the following

      __TITANIUM_VERSION__
      __TITANIUM_BUILD_HASH__
      __TITANIUM_BUILD_DATE__
      

      var win = Ti.UI.createWindow({backgroundColor:'black'});
       
      var lbl = Ti.UI.createLabel({
          text: 'Hello!'
      });
       
      lbl.addEventListener('click', function(e){
          console.log(Titanium.version)
          console.log(Titanium.buildHash);
          console.log(Titanium.buildDate);
      });
       
      win.add(lbl);
      win.open();
      

      Steps To Reproduce

      1. Using the above code build to a windows emulator

      Actual Result

      The logging contains the value

      __TITANIUM_VERSION__
      __TITANIUM_BUILD_HASH__
      __TITANIUM_BUILD_DATE__
      

      Expected Result

      The values should be values like

      4.1.0
      c7717ab
      2015/06/16 22:52
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cwilliams Christopher Williams
                Reporter:
                eharris Ewan Harris
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code