-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to send and receive messages in rtm #83
Comments
Hey @Nader2004 , Inside your |
Hey @Meherdeep thanks for replying, I have tried looking for a named argument that have to do anything with rtm messages but couldn't find one except two that are about rtm :
Also how can I send messages then using rtm from UIKit. |
Hey @Meherdeep thanks for the package update. But is still actually facing the problem of sending messages, when I call |
You can do a check before sending a message to see if the user has logged in or not.
|
hey @Meherdeep I apologize for the late response, I have added the
The important part here is the :
When calling
It's just a speculation, maybe the |
Hey @Nader2004, the Rtm login occurs once the user joins the RTC channel. Hence, it's called under the |
Okay @Meherdeep here is my sample code :
And here is the doctor :
|
Hey @Nader2004 Sorry for the late reply. I tried building the sample code that you shared, I just made a small adjustment to the sendMessage logic and I was able to send messages using that. Here's the code for that:
|
Closing this issue for now. If you're still facing this issue feel free to reopen it. |
Hello I have been trying to send and receive message through the
AgoraRtmChannel
Object. But whenever i listen to messages through theonMessageReceived
, it tells me that I called theonMessageReceived
on null,Here is the code:
Here is the error :
The text was updated successfully, but these errors were encountered: