[TIMOB-7867] iOS: Platform - Titanium.Platform.id still works in SDK build 2.0 even though it was deprecated in 1.8.0
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2012-03-02T15:46:14.000+0000 |
Affected Version/s | Release 2.0.0, Release 1.8.2 |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Wilson Luu |
Assignee | Neeraj Gupta |
Created | 2012-03-02T14:19:02.000+0000 |
Updated | 2017-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
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.
Closing ticket as invalid.