Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23145] Enable run-on-main-thread by default for new projects

GitHub Issuen/a
TypeNew Feature
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2016-04-21T14:21:32.000+0000
Affected Version/sn/a
Fix Version/sRelease 5.4.0
ComponentsTooling
Labelsqe-5.4.0
ReporterChee Kiat Ng
AssigneeChee Kiat Ng
Created2016-04-05T08:33:22.000+0000
Updated2016-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.

Comments

  1. Chee Kiat Ng 2016-04-21

    PR: https://github.com/appcelerator/titanium_mobile/pull/7957
  2. Josh Longton 2016-07-13

    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*

JSON Source