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

Cross Post from React Native - Bug with calling the block. #18

Open
mintuz opened this issue May 10, 2015 · 1 comment
Open

Cross Post from React Native - Bug with calling the block. #18

mintuz opened this issue May 10, 2015 · 1 comment

Comments

@mintuz
Copy link

mintuz commented May 10, 2015

Hello I am looking at using Discovery for a personal app I have been working on and I am also investigating the use of React Native.

However something is breaking whilst using it with React Native. It discovers my other device multiple times but the block to do something with the username is only called once until I close the app and reopen it, once I reopen it the block is called multiple times. Once I shut down my other device, the block carries on being executed but no name is received.

Example of my implementation can be seen here facebook/react-native#1218

I understand you might not want to take interest in this issue as it could be caused by React Native but whats interesting is the checkList method isn't called on first initialisation. I think something to do with the NSTimer is broken but can't figure out what.

Have you seen this behaviour whilst developing?

@mintuz mintuz changed the title Cross Post from React Native Cross Post from React Native - Bug with calling the block. May 10, 2015
@omergul
Copy link
Owner

omergul commented May 16, 2015

I have looked at the issue you referenced at React's page: facebook/react-native#1218

I think its completely about React's timer issue, am I wrong? Have you been able to resolve the issue @mintuz ?

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