Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7867] iOS: Platform - Titanium.Platform.id still works in SDK build 2.0 even though it was deprecated in 1.8.0

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2012-03-02T15:46:14.000+0000
Affected Version/sRelease 2.0.0, Release 1.8.2
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterWilson Luu
AssigneeNeeraj Gupta
Created2012-03-02T14:19:02.000+0000
Updated2017-03-09T22:50:29.000+0000

Description

Steps to reproduce: 1. Run the following app.js using SDK build 2.0:
var id = Ti.Platform.id;
		
if(id != undefined)
	alert(id);
else
	alert('Ti.Platform.id removed.');
Actual: I get the device's id and a the deprecation warning: *[WARN] Titanium.Platform.id DEPRECATED in 1.8.0* Expected: Ti.Platform.id should not work beyond 1.8.0

Comments

  1. Neeraj Gupta 2012-03-02

    Deprecated does not mean removed. We are going to evaluate this property further but we do not plan to remove it in 2.0 release.
  2. Lee Morris 2017-03-09

    Closing ticket as invalid.

JSON Source