I am using XMPP framework for develop a chat Application with OpenFire server. All things works fine only i am facing one issue that :
When user A send an 'Emoji' to User B when user B is offline then user B will get push notification through PHP Server .
when user went online i am getting all the message in
- (void)xmppStream:(XMPPStream *)sender didReceiveMessage:(XMPPMessage *)message
Method. It looks good but when user B receive emoji it converts in '?????' Like I'm getting This In message content:
<message xmlns="jabber:client" type="chat" to=“receiver” from=“sender”><body>????</body><delay xmlns="urn:xmpp:delay" from="52.208.58.179" stamp="2016-08-15T12:16:59.039Z"></delay></message>
Same things work well in normal text message, Don't know why i am getting "????" in offline mode.Same code working in online mode.