Connecting to socket server from an external app

Hi! I’m creating a mobile app with React Native. The last piece that’s missing for me is connecting to socket events from my Wappler web app.

Is it possible to connect the react native app to the socket.io server made with Wappler, with the socket-client library?

Socket.io-client’s documentation says:

From a different domain

In case your front is not served from the same domain as your server, you have to pass the URL of your server.

const socket = io("https://server-domain.c

Does that mean that I can simply enter the domain where my Wappler web app is hosted, and it will subscribe to events?

Community Page
Last updated: