#Socket.io for React Native

2 messages · Page 1 of 1 (latest)

rugged comet

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

sly ibexBOT