[MOD-2351] Android: Add parity with iOS for the Ti.Worker module
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2019-01-08T23:15:30.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 8.0.0 |
Components | n/a |
Labels | multi-threading, webworker, workers |
Reporter | Rene Pot |
Assignee | Gary Mathews |
Created | 2017-08-09T12:57:03.000+0000 |
Updated | 2019-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/12Comments
- 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
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). - 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>