I have implemented smack in my android code. It is working nice. But I have an issue with getting chat message when I am in another activity. Even if I enter the chat window I missed those message (while I was in another activity). Chat is working perfect when I am in the chat window with the second user.
I am using Smack version 4.1.0 alpha 6.
Please advice.
Yes, I am using openfire as serve and currently only one connection with single server .
The chat is working fine with iOS app. But the mentioned issue only with android app.
This is probably an issue with your chat applications architecture. Ideally you want to have the XMPP connection not bound to any activity at all but instead handled by a service.