-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Initial connection is very slow in React Native #1256
Comments
@saeho did you find a solution? |
No, but after a lot of research, I learnt that it wasn't socket.io. It's most likely an Android + production only issue. Seems to happen only in old devices, and it seems Javascript code is somehow locking up the app despite nothing heavy going on. I'm still searching for the fix. |
Did you find a solution? I'm having the same issue. |
Yeah, there could be a lot of reasons though. So it's too hard to pinpoint to anything. For me, my app has grown in complexity over time and I just didn't do a good job noticing bad code (on my part). Once I used best practices and used socket.io as flawlessly as I can, everything became fine. |
I solved the issue. Thank you for answering. |
How did you solve the issue? |
I noticed that in production environment, the react native app takes very long time to connect to socket.io upon opening the app first time. Afterwards, the connection seems "better".
Is this something anyone else has noticed?
The text was updated successfully, but these errors were encountered: