Hi, I have a Smack PubSub client program which is functionally running well on android smartphones.
However, there is an issue with the latency in response. I have a smartphone (Android version 5.0.2) which consistently receives the publishing item within seconds. But I have other 2 smartphones (Android 6.0.1) which consistently receive the publishing item from server within 1-2 minutes after the client has sent the publish item to openfire server. I tried to change the compileSdkVersion to 23 to match with Android 6 smartphone, the latency is still as long.
Note that I am using ChatMessageListener to listen and parse for PubSub response, I can see response in StanzaListener is almost instantaneous, but not in ChatMessageListener which takes 1-2 minutes to happen.
I have search around for solution but could not find any. Any help is highly appreciated.