corona onPrivateChatReceived not working?

0 votes


I want to send private message to the available online users, that i am using the sendPrivateChat method it sended successfully.

Problem is that the onPrivateChatReceived not called at the other player , who ever sended .

Please help me if i missed something to add there. 

asked Apr 2, 2014 in Discuss & suggest API by imtiyaz (45 points)

1 Answer

0 votes

Sender does not receive onPrivateChatReceived .

Sender will get onSendChatDone

answered Apr 2, 2014 by Suyash Mohan (900 points)
yes that i know.
but the problem getting the other users ,they cant get the onPrivateChatReceived listener.
Your code should be like this

awClient = require "AppWarp.WarpClient"

 function onPrivateChatReceived(sender, message)

 awClient.addNotificationListener("onPrivateChatReceived", onPrivateChatReceived)
Thank you very much.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on