When our application go into background, after a few minutes (it depends on phones), when we goback to the foreground, the xmpp is suspended, and we can not continue to send stanzard.
On Android, we call disconnect method to close the socket and it works. But on iphone, this method does not work.
Do you guys have any ideas about this issue. Thank in advance.