[TIMOB-23145] Enable run-on-main-thread by default for new projects
| GitHub Issue | n/a |
|---|---|
| Type | New Feature |
| Priority | Critical |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2016-04-21T14:21:32.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 5.4.0 |
| Components | Tooling |
| Labels | qe-5.4.0 |
| Reporter | Chee Kiat Ng |
| Assignee | Chee Kiat Ng |
| Created | 2016-04-05T08:33:22.000+0000 |
| Updated | 2016-07-13T17:43:42.000+0000 |
Description
The plan is to have hyperloop integrated as part of 5.4.0, and hyperloop requires main-thread enabled to run.
Therefore as a first step, we should edit all new project templates to have
<property name="run-on-main-thread" type="bool">true</property> in tiapp.xml by default.
We want people on existing projects to make a conscious effort to include this if they wish to enable hyperloop.
Only consider this as enabled full time in 6.0.0 as a breaking change.
PR: https://github.com/appcelerator/titanium_mobile/pull/7957
Verified as fixed, created TIMOB-23633 for the outstanding issue. Tested on: Mac OSX El Capitan 10.11.5 Studio: 4.7.0.201607111053 Ti SDK: 5.4.0.v20160705213725 Appc NPM: 4.2.7 Appc CLI: 5.4.0-31 Xcode 7.3.1 Node v4.4.4 * Closing Ticket*