powered by Jive Software

Send message callback

I am using smack and openfire for create chat app in android . for message status I have no problem with delivered and displayed message in other client (double check). I will send a simple json message like bellow to sender: {“delivery”:timestapmp} and parse it and double check messages with lower than timestamp that sent before. the problem is about sent status (one check). When i send message the server no response anything that message has sent . is it possible in smack to send message with callback from server. if possible and is it possible to send time server in callback response . thanks .

You want XEP-0198 Stream Management acks (“one check”) and XEP-0184 Message Delivery Receipts (“two checks”). Both are supported by Smack.

1 Like

thanks alot , the problem solved