Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expected to run on UI thread #12

Closed
HannanShaik opened this issue Dec 13, 2017 · 2 comments
Closed

Expected to run on UI thread #12

HannanShaik opened this issue Dec 13, 2017 · 2 comments

Comments

@HannanShaik
Copy link

HannanShaik commented Dec 13, 2017

Facing the error Expected to run on UI thread. When the task is running.

"react-native-sync-adapter": "^2.0.0",

Dependencies:
"react": "16.0.0-alpha.12",
"react-native": "0.48.1",

screen shot 2017-12-13 at 5 24 32 pm

Sometimes I am getting the error as Object is not a function (evaluating 'taskProvider()(data)')

Please help, I am struggling from past 2 days.
screen shot 2017-12-13 at 5 15 51 pm

@HannanShaik
Copy link
Author

@ferrannp Can you please help with this?

@ferrannp
Copy link
Owner

@HannanShaik I have not face such error but it looks like there is a related PR in react-native fixing it facebook/react-native#15940.

So probably the best would be you try react-native version 0.50.0 or above.

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

No branches or pull requests

2 participants