I am implementing google play game service real time multiplayer.
Currently if I turn off the WIFI on one client the other client doesn't detect that the connection is lost. No PeerDisconnect events are called.
1 - Does the API provide anything to check if the peer is still connected?
2 - Is there any way to let the player reconnect to the room?
1 - Does the API provide anything to check if the peer is still connected?
As stated in Connecting players, you can monitor the connection status of the participants with the use of
RoomStatusUpdateListenercallbacks. As stated:2 - Is there any way to let the player reconnect to the room?
Real-time Multiplayer - Gameplay states that:
In addition to that, referring to best practice for Real-time multiplayer:
Hope those links covers up all your concerns. Happy coding! :)