1

Dear friend I create chat app in react native by connectycube but when 2 opponents connect to a dialog by this code message didnot send to server

msg.id = ConnectyCube.chat.send(opponentId, msg,(error)=>{
  alert(JSON.stringify(error))
});

but when a opponent connect to chat and another opponent not connect message send work correctly

1 Answers1

0

I see what's wrong here.

type="3" - it should be type="chat" for 1-1 and type="groupchat" for groupchat

Rubycon
  • 18,156
  • 10
  • 49
  • 70