error indicating connection recoverable from onConnectDone() never triggered if keep calling sendUpdate() to room peers

0 votes
Hello, I'm using Starling SDK and I find that if I keep calling sendUpdate() to room peers in game loop, even if wifi's turned off. the error of connection recoverable will never get triggered. but soon after the loop stops, the recoverable error will accour...
asked May 7, 2018 in Android by Jing Jimmy (10 points)

1 Answer

0 votes
Hi,

Apologies for the delayed response.

The SDK sends Keep-Alive messages to AppWarp Server after every 2 seconds if user is not doind any API call. Whenever network goes off, SDK tries to send keep alive messages 3 times and if all three keep alive messages get failed then onConnectDone will be called with the proper error message.

I think this is also happening in your case and you are getting connection_error_recoverable after 6 seconds. Please let me know if this is not the case.

Thanks.
answered May 17, 2018 by rajeev.etc (1,660 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...