You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Android:
As a response to a user search stanza, the server is returning multiple fields for the result items, but the parser is returning only the "Name" field after converting it to JSON in rnxmpp.utils.Parser. To verify, I trapped a log from the "processPacket" method in XmppServiceSmackImpl and obtained the actual XML response which is returned by the server.
Example:
Actual XML returned by the server as a response to "sendStanza" :
Android:
As a response to a user search stanza, the server is returning multiple fields for the result items, but the parser is returning only the "Name" field after converting it to JSON in rnxmpp.utils.Parser. To verify, I trapped a log from the "processPacket" method in XmppServiceSmackImpl and obtained the actual XML response which is returned by the server.
Example:
[email protected] [email protected] johnson JohnsonActual XML returned by the server as a response to "sendStanza" :
JSON returned in the javascript onIQ() callback :
{
"query": {
"x": {
"field": {
"type": "hidden",
"var": "FORM_TYPE"
},
"item": {
"field": {
"value": "Johnson",
"var": "Name"
}
},
"reported": {
"field": {
"type": "text-single",
"var": "Email",
"label": "Email"
}
},
"type": "result",
"xmlns": "jabber:x:data"
},
"xmlns": "jabber:iq:search"
},
"type": "result",
"id": "HyT457",
"from": "search.xxxxxx.com",
"to": "xxxx@xxxx"
}
Am I missing something? Any configuration is needed for sending stanzas?
Thank you.
The text was updated successfully, but these errors were encountered: