Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15549] MobileWeb; App version number is undefined

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2017-06-26T19:11:41.000+0000
Affected Version/sRelease 3.1.3
Fix Version/sn/a
ComponentsMobileWeb
LabelsSupportTeam
ReporterJick Steen
AssigneeChris Barber
Created2013-10-17T08:12:16.000+0000
Updated2018-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]

Comments

  1. Lee Morris 2017-06-26

    Marking ticket as "Won't Fix" as MobileWeb has been deprecated.
  2. Eric Merriman 2018-04-04

    Closing as will not fix.

JSON Source