A NativeScript plugin providing an XMPP websocket client for iOS and Android. Version 1.2.0 is the current stable release, but it is no longer actively maintained. It uses a stanza-based approach similar to Node-XMPP, with event-driven handling for online, stanza, and error events. Key differentiators: tight integration with NativeScript's runtime, TypeScript support, and WebSocket-only transport (no BOSH).
npm install nativescript-xmpp-clientNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes an XMPP client with websocket connection, logs in, sends a roster IQ, and logs stanzas.
Consider using a different XMPP library or contribute to maintenance.
Ensure your XMPP server has WebSocket support enabled.
Check compatibility or use @nativescript/core instead.
Implement comprehensive error handling.
Run 'npm install nativescript-websockets --save' or 'tns install nativescript-websockets'.
Ensure you use 'new Client(...)' and import { Client } correctly.Verify server URL and that WebSocket is enabled on the XMPP server.