Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

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

Open
senthilsivanath opened this issue Oct 11, 2016 · 2 comments
Open

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

senthilsivanath opened this issue Oct 11, 2016 · 2 comments

Comments

@senthilsivanath
Copy link

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
Copy link
Author

Interference from Realm React Native cause this effect.

Have put dirty workaround in RealmReact.mm for continuing.

@bourgois
Copy link

bourgois commented Nov 2, 2016

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants