[TIMOB-19144] Windows: Ti.version is blank
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2015-07-07T15:57:25.000+0000 |
| Affected Version/s | Release 4.1.0 |
| Fix Version/s | Release 5.0.0 |
| Components | Windows |
| Labels | n/a |
| Reporter | Gary Mathews |
| Assignee | Christopher Williams |
| Created | 2015-07-02T17:53:17.000+0000 |
| Updated | 2015-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();
}
})();
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