Socket.io for React Native

Hello everyone, recently ive been working on a personal project that involves using React Native for the front-end and Flask socket.io in the backend. The backend was originally for another web project of a friend of mine where it was served as a web page via flask; however, i decided i wanted to essentially make it into a mobile app. Furthermore, they served there pages using routes in the backend e.g. @app.route('/'). Transitioning from this type of ui to react native has been hell as I am completely new to the library. Now although the backend uses the python implementation of socket.io it can still serve to a front-end with socket.io-client supposedly. I have been trying to set up a connection between them but i am having no luck. I believe the issue is probably with not knowing what socket to connect through. Ive tried multiple addesses and none has worked. Maybe its something else i am ignorant off. Im very new to networking and what not please bear with me. Thank youu
No description
No description
3 Replies
d.js toolkit
d.js toolkit4mo ago
treble/luna
treble/luna4mo ago
This isnt djs related, use #other-js-ts for non djs questions
d.js toolkit
d.js toolkit4mo ago
The issue has been marked as solved by support staff

Did you find this page helpful?