Closed natalialuzuriaga closed 2 years ago
I see 'type=3' which is wrong
it should be type="chat"
for 1-1 and type="groupchat"
for group chats
Thanks for getting back to me!
As advised, I passed in type="chat"
when calling ConnectyCube.chat.send(params)
. The onMessage listener is still not being triggered as shown in the updated logs below:
Ok then please show 2 code snippets:
Hi there,
I am developing a React Native app using Expo and am using react-native-connectycube version 3.14.0.
I'm encountering an issue where when both parties are connected to ConnectyCube, the messages being sent from one party are not being received by the other party.
I think this might have to do with the onMessage listener. I implemented the listeners exactly the same way as the ChatService.js service file in the React Native Samples. I am receiving nothing from the onMessage listener when the message is sent.
Any guidance would be much appreciated!
Below are the logs for when I send a message: