Has anyone got this working?
Spent my whole day trying to print a single log in the listener.. but no luck.
I couldn't also make the example project code to work either, other than displaying a number increment in the message "Should not freeze: {number}".
Need someone to tell me whether it worked or not.
Got it working on Android.
Had to apply the Android setup changes manually after react-native link rn-workers, fix one compilation error on Android Studio (there was a wrong override) and then run the bundle-worker-android script from the npm scripts.
I hope that helps.
I did all that already. My whole react team worked on it. It never prints out a single log. Would you share me some code that works?
Hi @rickcha, I don't have anything I can publish but I've also found this other library that might work for you if Android is all you need:
https://github.com/staltz/react-native-node
I haven't tried but it looks simple to setup.
Cheers!