-
Notifications
You must be signed in to change notification settings - Fork 349
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
React Native Chat Example #303
base: next
Are you sure you want to change the base?
Conversation
Improved Readme with Issue-Links
Changed vi command in README that vi jumps direktly onto the right line in auth.js
Awesome! Thanks for submitting this PR |
Hey @nivoc would you mind adding me as a collaborator on your fork so I can check out your branch? cc: @mglukhovsky ^ |
@dalanmiller Sure. Added. |
It sometime fails to connect (about 1 out of 10 times). Not sure yet why. Looks like some timing issue. Refresh helps (cmd+r in the simulator). |
Note: I've never done anything with To get the example to run properly I had to run the
Then once I had it going I could save and write to the database but it looks like the changefeed isn't working properly: The console output above shows I'm typing things into it and they're being stored but nothing is returning to the view? I might've missed something just let me know what I need to fix here @nivoc. This thing was surprisingly easy to get setup and build, |
@dalanmiller oh good to know. Yes it sound's like a 'not ready'. Works for me - but I may have been lucky with the timing on my machine :-) About the There is an issue. I was not able to track it down yet. For me it works in 9 out of 10 connects but it's may be worse on your system. Press Command+R several times. But yes - needs to be fixed ;-) |
Another thing is that the config.toml shouldn't be committed, since it has a token secret in it. I think it's good to have a convention that config.toml files never make it into the repo proper, to avoid confusion |
removed. About the Changefeed-Issue. It's odd. The "watch"-subscription gets called on every start. And it's always possible to write. But sometimes does the horizon not return the values. |
I wonder if this is some artifact of WebSockets acting weird natively? Have you had other projects that use WebSockets without issues @nivoc or is this unique to Horizon? |
@dalanmiller I haven't used WebSockets in RN enough to tell. |
For #285
This change is