Titanium JIRA Archive
Appcelerator Modules (MOD)

[MOD-2351] Android: Add parity with iOS for the Ti.Worker module

GitHub Issuen/a
TypeNew Feature
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2019-01-08T23:15:30.000+0000
Affected Version/sn/a
Fix Version/sRelease 8.0.0
Componentsn/a
Labelsmulti-threading, webworker, workers
ReporterRene Pot
AssigneeGary Mathews
Created2017-08-09T12:57:03.000+0000
Updated2019-01-10T11:42:39.000+0000

Description

Currently Ti.Worker only works on iOS, but this functionality would also be really really useful on Android. https://github.com/appcelerator-modules/ti.worker It has also been requested by other people https://github.com/appcelerator-modules/ti.worker/issues/12

Comments

  1. Gary Mathews 2018-10-24

    master: https://github.com/appcelerator-modules/ti.worker/pull/17
  2. Lokesh Choudhary 2019-01-08

    FR Passed. PR Merged.
  3. Sergey Volkov 2019-01-09

    Hello everyone. I'm glad we finally have some progress on ti.worker for Android. But there are some issues with the [PR](https://github.com/appcelerator-modules/ti.worker/pull/17), this ticket must be reopened. P.S. one more important thing to mention about Android implementation: it does not use separate js context (looks like iOS does).
  4. Sergey Volkov 2019-01-10

    And most important thing is that with
       <property name="run-on-main-thread" type="bool">true</property>
       
    Android implementation of ti.worker also runs code on UI thread.

JSON Source