Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19682] iOS: Execute JavaScript on main thread by default

GitHub Issuen/a
TypeImprovement
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-10-07T03:24:17.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.1.0
ComponentsiOS
Labelsn/a
ReporterIngo Muschenetz
AssigneeChee Kiat Ng
Created2015-10-07T03:13:51.000+0000
Updated2015-10-29T23:14:27.000+0000

Description

In TIMOB-18976 we added the ability to execute JS on the main thread. We now should set this as default. Note, this can ONLY be merged in 5.1.0 if it causes NO behavior changes. If it does, then we must wait until 6.0.
<ios>
    <run-on-main-thread>true</run-on-main-thread>
    <!-- more iOS stuff here... -->
</ios>

Comments

  1. Chee Kiat Ng 2015-10-07

    PR here: https://github.com/appcelerator/titanium_mobile/pull/7053 Approved and merged.
  2. Eric Wieber 2015-10-29

JSON Source