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

Windows: Ti.Platform.version returns an unexpected value

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: None
    • Resolution: Hold
    • Affects Version/s: Release 5.3.0
    • Fix Version/s: None
    • Component/s: Windows
    • Labels:
    • Environment:

      Nokia Lumia 928 (8.1)
      Windows 10
      Studio: 4.6.0.201605160952
      Ti SDK: 5.3.0.v20160516040258
      Appc NPM: 4.2.5-5
      App CLI: 5.3.0-45
      Node v0.12.7

    • Story Points:
      5
    • Sprint:
      2016 Sprint 12 SDK

      Description

      Ti.Platform.version returns an unexpected value on windows.

      Steps to reproduce:

      1. Use the app.js below
      2. Run the application and check either the logs or the window

      app.js

      Titanium.UI.setBackgroundColor('#000');
       
      var win = Titanium.UI.createWindow({  
          title:'',
          backgroundColor:'#fff'
      });
      var defaultLabel = Ti.Platform.version;
      var label = Titanium.UI.createLabel({
          color:'#999',
          text: defaultLabel,
          font:{fontSize:20,fontFamily:'Helvetica Neue'},
          textAlign:'center',
          width:'auto'
      });
      Ti.API.info(Ti.Platform.version);
       
       
      win.add(label);
       
      win.open();
      

      Actual :

      6.3.9651.0
      

      Expected:

      8.1
      

        Attachments

          Activity

            People

            • Assignee:
              gmathews Gary Mathews
              Reporter:
              jlongton Josh Longton
              Tester:
              Josh Longton
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code