AnsweredAssumed Answered

Smack 4.2.0 beta1 PEPManager not receive event

Question asked by Calvin on May 9, 2016

I created PEPManager and added PEPListener, but eventReceived not fired.


PEPManager pepManager = PEPManager.getInstanceFor(mConnection);
pepManager.addPEPListener(new PEPListener() {
   public void eventReceived(EntityBareJid from, EventElement event, Message message) {

     Log.d(getClass().getName(), "pep event received: " + message.toString());


Any guideline on receiving event messages?


I used the same account login with strophe js, and it can receive the event.