Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19144] Windows: Ti.version is blank

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-07-07T15:57:25.000+0000
Affected Version/sRelease 4.1.0
Fix Version/sRelease 5.0.0
ComponentsWindows
Labelsn/a
ReporterGary Mathews
AssigneeChristopher Williams
Created2015-07-02T17:53:17.000+0000
Updated2015-07-09T23:44:48.000+0000

Description

Ti.version is left blank after compiling using Appcelerator Studio. When testing the Geocoder app it validates Ti.version before launching and fails because Ti.version is blank.
(function() {
	if (Ti.version < 1.8) {
		alert('Sorry - this application requires Titanium Mobile SDK 1.8 or later.\nTi.Version: '+Ti.version); // show Ti.version in alert
	} else {
		var ApplicationWindow = require('ui/ApplicationWindow').ApplicationWindow;
		new ApplicationWindow().open();
	}
})();

Comments

  1. Lokesh Choudhary 2015-07-09

    Verified the fix. We now see Ti.version. Closing. Environment: Appc Studio: 4.1.0.201507071122 Ti SDK: 4.2.0.v20150709100442 Ti CLI: 4.0.1 Alloy: 1.6.2 Windows: 8.1 Enterprise 64-bit APPC NPM: 4.1.0 APPC CLI: 4.1.0 Device: Nokia Lumia 928 - Windows Phone 8.1 Windows emulator : 8.1

JSON Source