nexacon_messaging 1.0.5
nexacon_messaging: ^1.0.5 copied to clipboard
Real-time messaging SDK for Nexacon — instant messaging with presence, typing indicators, delivery receipts, and message history.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.4 - 2026-08-12 #
Changed #
- Consolidated
NexaconConfig: all URLs and domains now derive from singlehostconstant - Renamed
xmppDomain→nxDomain(same ashost) - Removed duplicate hardcoded domain strings
1.0.3 - 2026-08-12 #
Added #
- Auto-approve incoming presence subscription requests for bidirectional presence flow
sendDirectedPresence()method onNexaconMessaging— send presence to a specific user directlysubscribeToPresence()now also sends directed presence so contacts see you online immediately
Fixed #
- Fixed
curly_braces_in_flow_control_structureslint innx_socket.dart
1.0.2 - 2026-08-12 #
Changed #
connect()wsUrlparameter is now optional — when omitted, the SDK derives the WebSocket URL frombaseUrl- Updated README quick start to omit
wsUrl
1.0.1 - 2026-08-10 #
Added #
- API Improvement: Auto-append domain to recipient addresses
- Users can now use phone numbers directly (e.g.,
+255123456789) - No need to manually add
@nxservice.quantumvision-tech.com - Domain is extracted from JID after connection and applied automatically
- Backward compatible - full JIDs still work
- Users can now use phone numbers directly (e.g.,
1.0.0 - 2026-08-10 #
Added #
NexaconMessaging— main real-time messaging manager- Real-time send/receive messages over WebSocket (NX protocol)
- Presence tracking with
NxPresenceStatus(online, offline, away, busy) - Typing indicators via XEP-0085 chat state notifications (composing, paused, active, inactive, gone)
- Delivery receipts via XEP-0184 with
Completer-based delivery tracking - Read receipts
- Message history via REST API with
NxMessageHistoryResponseandNxHistoryMessagemodels - Auto-reconnect with exponential backoff
- Heartbeat/ping to keep connection alive
NxSocket— low-level WebSocket client handling NX protocolNxApiClient— REST API client for token management, message history, and presence queriesconnectWithToken()— one-step connect using NX token endpoint- Presence cache for quick status lookups
subscribeToPresence()— send presence subscription requests- Presence management:
setOnline(),setAway(),setBusy(),setOffline()