Stream-management ack for websocket connection in react native. #1009
Unanswered
AhmedMustafa505
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using the library to establish a connection to openfire server using websocket as it's the only type of connection supported in react-native, the problem is I cannot receive or listen to (ack), so does stream-management is enabled in websocket connection, and if so how can I listen to stanza('ack') .
I'm using "@xmpp/client": "^0.13.1", (latest) as per I know..
this is how I connect:
const xmpp = client({ service: 'ws://XXX.XXX.XX.XX/ws', domain: 'XXX.XXX.XX.XX:XX', username: 'example', password: 'example', resource: 'PC', });
Beta Was this translation helpful? Give feedback.
All reactions