[MOD-2351] Android: Add parity with iOS for the Ti.Worker module
|Fix Version/s||Release 8.0.0|
|Labels||multi-threading, webworker, workers|
DescriptionCurrently 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
- Gary Mathews 2018-10-24 master: https://github.com/appcelerator-modules/ti.worker/pull/17
- Lokesh Choudhary 2019-01-08 FR Passed. PR Merged.
- Sergey Volkov 2019-01-09
I'm glad we finally have some progress on
ti.workerfor 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).
- Sergey Volkov 2019-01-10
And most important thing is that with
Android implementation of ti.worker also runs code on UI thread.
<property name="run-on-main-thread" type="bool">true</property>