react-native-workers icon indicating copy to clipboard operation
react-native-workers copied to clipboard

Background worker is always loading, it doesn't execute.

Open senthilsivanath opened this issue 9 years ago • 2 comments

Using react-native-workers: ^0.3.1, react-native: ^0.34.1

When i start my worker in componentDidMount. The script gets downloaded, but it doesnt get executed on device. screen shot 2016-10-11 at 11 16 04 pm

I am using debug mode and Loading from ip.xip.io:port always remains in status bar.

Could observe following in perf monitor.

image

senthilsivanath avatar Oct 11 '16 17:10 senthilsivanath

Interference from Realm React Native cause this effect.

Have put dirty workaround in RealmReact.mm for continuing.

senthilsivanath avatar Oct 23 '16 04:10 senthilsivanath

@senthilsivanath Can you share your workaround? We are using Realm too and considering using workers...

bourgois avatar Nov 02 '16 11:11 bourgois