Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27849] Ti.version returns long version format when transpiled, short when not

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2020-04-23T15:20:36.000+0000
Affected Version/sn/a
Fix Version/sRelease 9.0.2
Componentsn/a
Labelsn/a
ReporterJoshua Quick
AssigneeChristopher Williams
Created2020-04-15T18:27:19.000+0000
Updated2020-04-23T15:20:36.000+0000

Description

If you execute an app with:
console.log(Ti.version);
If there app is being transpiled, it'll return a version like 9.1.0.v20200409133428 while if not transpiled, it'll return a version like 9.1.0 As found/seen by Josh here: https://github.com/appcelerator/titanium-mobile-mocha-suite/pull/241

Comments

  1. Christopher Williams 2020-04-15

    master: https://github.com/appcelerator/titanium_mobile/pull/11634
  2. Christopher Williams 2020-04-15

    Fix merged to master, backport PR for 9_0_X (9.0.2. target) is up at: https://github.com/appcelerator/titanium_mobile/pull/11635
  3. Satyam Sekhri 2020-04-21

    FR Passed
  4. Samir Mohammed 2020-04-23

    *Closing ticket.* Fix verified in SDK version 9.1.0.v20200423073533. and 9.0.2.v20200420194516 Test and other information can be found at: Master: https://github.com/appcelerator/titanium_mobile/pull/11634 9_0_X: https://github.com/appcelerator/titanium_mobile/pull/11635

JSON Source