Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4155] iOS: Ti.App.fireEvent strips native items from the event payload, despite this working fine when

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-06-06T17:39:45.000+0000
Affected Version/sRelease 1.7.0
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterBlain Hamon
AssigneeIngo Muschenetz
Created2011-05-19T17:43:43.000+0000
Updated2017-06-06T17:39:45.000+0000

Description

If you do a Ti.App.fireEvent('foo',{'bar':Ti.UI.createButton()}); the button is intentionally stripped. However, doing a Ti.UI.currentWindow.fireEvent('foo',{'bar':Ti.UI.createButton()}); does the right thing. The issue lies in AppModule.m, lines 148-154.

Comments

No comments

JSON Source