Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28126] iOS: Event queue may not flush after exception

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2020-09-28T17:23:17.000+0000
Affected Version/sn/a
Fix Version/sRelease 9.1.1
ComponentsiOS
Labelsn/a
ReporterJosh Longton
AssigneeGary Mathews
Created2020-09-09T23:48:42.000+0000
Updated2020-09-28T17:23:17.000+0000

Description

The customer is experiencing a crash but no event is being sent to dashboard, the event should be stored and sent the next time the app is launched. *Testcase*; {noformat} var win = Ti.UI.createWindow({ backgroundColor: "white", layout: "vertical" }); var flipBtn = Ti.UI.createButton({ top: 50, title: "Flip" }); var controlView = Ti.UI.createView({ }); var view1 = Ti.UI.createView({ elevation: 20, width: 200, height: 200, top: 100, backgroundColor: "red" }); controlView.add(view1); var view2 = Ti.UI.createView({ elevation: 20, width: 200, height: 200, top: 100, backgroundColor: "green" }); win.add(flipBtn); win.add(controlView); var isShowGreen = false; flipBtn.addEventListener('click', function () { if (isShowGreen) { isShowGreen = false; view1.show(); controlView.animate({ view: view1, transition: Ti.UI.iOS.AnimationStyle.FLIP_FROM_LEFT }); view2.hide(); } else { isShowGreen = true; view2.show(); controlView.animate({ view: view2, transition: Ti.UI.iOS.AnimationStyle.FLIP_FROM_LEFT }); view1.hide(); } }); win.open(); {noformat} *Expected*; Crash event to appear on dashboard.

Comments

  1. Gary Mathews 2020-09-11

    master: https://github.com/appcelerator/titanium_mobile/pull/12037
  2. Samir Mohammed 2020-09-11

    FR Passed, waiting on Jenkins build and backports.

JSON Source