Not receiving messages until send the first message.
edrodolfo opened this issue · 3 comments
Hello,
I have been working with this module and i found one issue:
If I start the demo App and try to send a message for someone everything works fine. But if I close and start the app the messages sent to me will not be received until I send the first message.
Hello @edrodolfo did you find a solution for this issue that I can integrate it in the pod ?
hi @baoluo
seems i have this problem, for example, when im logged in by user1,every thing is good and i can send message to user2 but when logging in by user2 in OneMessage: XMPPStreamDelegate -> func xmppStream(_ sender: , didReceive message: ) when the app tries to get message sender, it generates error because there is not any user in phone DB.
can u help me ?
of course thx alot.
i want to know is this code work correctly for you or some thing is forgotten and lost?
how should i create the message sender user ?