Ionic real-time communication

How can I get real time communication between 2 devices. I want implement simple multiplayer game. Is it better to use socket.io or webRTC? I want to display all online users and send invitation to play to specific user. And when it accepts communication is established.

I think I already answered your question on SO, but just in case you missed it there:

You can follow this tutorial on Ionic + Socket to establish a connection between 2 devices using Socket.io and a simple backend with NodeJS!

1 Like