react-native-xmpp
react-native-xmpp copied to clipboard
Different Xmmpp.on('message', message) for Android and IOS
Hello @aksonov Thanks for the the library. My issue is Im getting different Xmmpp.on('message', message) for Android and IOS. While Recieveing Message this is the Format:
IOS : { "active": "", "from": "sender address", "id": "a29bce20-bf0b-423d-93ff-e2a6946de468", "type": "chat", "to": "reciever address", "body": "asasa", "origin-id": { "id": "a29bce20-bf0b-423d-93ff-e2a6946de468" } }
Android:```
{
"src": "xmlns='urn:xmpp:sid:0'></origin-id></message>",
"from": "sender address",
"body": "ggg",
"subject": null,
"thread": null
}
We noticed the same thing and we need to retrieve higher scope properties like "forwarded" and "query-id".
Did you be able to solve this difference between ios and android @deepak-netsoft ?