Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-572] Ti.Platform.name crashes Android emulator

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:53:32.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsandroid, defect
ReporterKjetil Rohde Jakobsen
AssigneeDon Thorp
Created2011-04-15T02:32:15.000+0000
Updated2011-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();

Comments

  1. Don Thorp 2011-04-15

    This is working as of 1.1.0.

JSON Source