Search code examples
androidasmack

How to implement DeliveryReceiptManager in Android aSmack


I'm trying to get message delivery notification in Android (using aSmack library). Found out that I need to use the DeliveryReceiptManager class, however, when I try to import it into my project
(import org.jivesoftware.smackx.receipts.DeliveryReceiptManager;)
I get the error that this can not be resolved. However, I can import the DeliveryReceiptProvider class into project just fine. Can this be used to receive delivery confirmation of sent messages? Any sample code is highly appreciated. Thanks


Solution

  • I was having the same issue, then used the latest jar from here

    deliveryreceiptmanager was visible now.