Smack xmpp automatically disconnected using smack 4.4.4

160 Views Asked by At

Earlier we have used smack 4.3.4 and Xmpp connection working fine . When we upgrade to smack 4.4.4 , we are facing Xmpp automatically disconnected while device is idle.

1

There are 1 best solutions below

0
End User On

You can check server's Idle Connections Policy and increase the time out, or you can ping the server at some interval to keep the XMPP connection alive.