[TIMOB-15549] MobileWeb; App version number is undefined
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Won't Fix |
| Resolution Date | 2017-06-26T19:11:41.000+0000 |
| Affected Version/s | Release 3.1.3 |
| Fix Version/s | n/a |
| Components | MobileWeb |
| Labels | SupportTeam |
| Reporter | Jick Steen |
| Assignee | Chris Barber |
| Created | 2013-10-17T08:12:16.000+0000 |
| Updated | 2018-04-04T23:20:24.000+0000 |
Description
Hi,
using the latest continuous build 3.2.0 SDK (for instance 3.2.0.v20131004155410) the App version always returns undefined.
Code to reproduce
alert('' + Ti.App.version);
Workaround
A workaround for me is to access the version number like this:
Ti.App.__def__.constants.version;
Would be of course nice to have a fix for this though.
Link to Q&A: [http://developer.appcelerator.com/question/158327/mobileweb---app-version-number-is-undefined]
Marking ticket as "Won't Fix" as MobileWeb has been deprecated.
Closing as will not fix.