Closed Saifak34 closed 1 year ago
Hi @Saifak34,
As long as all attendees are subscribed to the same topic, they will be able to receive messages from this topic.
Please follow this commit for using DataMessageObserver.
NativeFunction.sendDataMessage
in the code snippet is just for demo purpose, don't worry about it.
Describe the bug This is not a bug but a help request, how we can send data messages in react-native application? do we need to add extra native code in kotlin and C# ? or we can just add it in Bridge.js as a Native function and use it ?
How to use DataMessageObserver observer to receive messages ?
why we are triggering NativeFunction.sendDataMessage(dataMessage.topic, str, 1000); while subscribing