<div dir="ltr"><div><div><div>Of course, one can't expect a stable TCP connection on a mobile device upon regular use. You are right, the app has to deal with this cases and reconnect in case of a network error.<br><br>But my testing environment was using wifi only. And I expected the TCP connection to last longer then just 30 minutes and then collaps.<br><br></div>One other thing:<br></div>What do I need to implement to allow an app to be configured to run as a background service? Like WhatsApp in Settings -> Apps -> WhatsApp -> 'Allow start of background services on device turn on'?<br><br></div>And what is the consequence of these setting? Is the app just started 'headless' on device boot up?<br><div><br></div></div>