Closed jhen0409 closed 5 years ago
/cc @Traviskn
Thanks for the PR, we'll test this out soon 👍
An issue is the host sometimes doesn't not received ThreadSelfManager.postMessage
with hermes -emit-binary
for worker bundle, I've to use setTimeout(() => ThreadSelfManager.postMessage('init'), 100)
to solve issue.
I think the reason is the Hermes compiler speeds up the startup time of worker, it may faster than the preparation of thread bridge.
any news on this?
@jhen0409 I use react-native0.60.3, the PackageList is auto generate by react-native. The RNThreadPackage.java constructor need incoming parameter ReactNativeHost, but in PackageList no put the parameter into.
@jhen0409 I use react-native0.60.3, the PackageList is auto generate by react-native. The RNThreadPackage.java constructor need incoming parameter ReactNativeHost, but in PackageList no put the parameter into.
The same issue
@biduone @neller1, if you're used autolinking, you should disable it for react-native-threads
and link it manually. You can read the doc: How can I disable autolinking for unsupported library?
Thank you for your answer, but after switching to manual link I have the same error ( Can you write me in skype (alex.stacheev)? Thank you!!! -- Frady
LocationModule
on Android, it's no longer live on RN >= 0.60jscexecutor.so
not found withenableHermes: true
)