I’m updating my IM application’s library from asmack-android-19-0.8.10 to asmack-android-8-4.0.2. I downloaded the jar files from this link. And my login code is as follows.
XMPPConnection localConnection = null;
SmackConfiguration.DEBUG_ENABLED = true;
conConFig = new ConnectionConfiguration(IM_XMPP_Commons.HOST,
localConnection = new XMPPTCPConnection(conConFig);
With my previous version whenever I logged in I was able to get the roster packets correctly. But After updating to this version I couldn’t. To solve that I gone through the org.jivesoftware.smackx/extensions.providers file. In which I didn’t find the RoterExchange extension. And also there is no package with the name of org.jivesoftware.smackx.xroster. So how should I listen for the packets with the extenstion “x”, “jabber:x:roster” ?