Skip to content
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

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

Open
deepak-netsoft opened this issue Oct 23, 2019 · 1 comment
Open

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

deepak-netsoft opened this issue Oct 23, 2019 · 1 comment

Comments

@deepak-netsoft
Copy link

deepak-netsoft commented Oct 23, 2019

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
}

@penna-superlogica
Copy link

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants