[TIMOB-572] Ti.Platform.name crashes Android emulator
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-04-17T01:53:32.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Android |
| Labels | android, defect |
| Reporter | Kjetil Rohde Jakobsen |
| Assignee | Don Thorp |
| Created | 2011-04-15T02:32:15.000+0000 |
| Updated | 2011-04-17T01:53:32.000+0000 |
Description
The following app.js causes Android emulator to crash in 1.0.0. Replacing Ti.Platform.name with a simple string prevents the crash.
var win1 = Titanium.UI.createWindow({
title:'Tab 1',
backgroundColor:'#fff'
});
var label1 = Ti.UI.createLabel({
title: Ti.platform.name
});
win1.add(label1);
win1.open();
This is working as of 1.1.0.