react-native-xmpp icon indicating copy to clipboard operation
react-native-xmpp copied to clipboard

Different Xmmpp.on('message', message) for Android and IOS

Open deepak-netsoft opened this issue 6 years ago • 1 comments

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": "ggg<origin-id xmlns='urn:xmpp:sid:0'></origin-id></message>", "from": "sender address", "body": "ggg", "subject": null, "thread": null }

deepak-netsoft avatar Oct 23 '19 10:10 deepak-netsoft

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 ?

penna-superlogica avatar Oct 21 '20 15:10 penna-superlogica