FLUTTER ECOSYSTEM

mqtt5_client

A server and browser based MQTT5 client for Dart supporting normal, secure sockets and websockets.

Latest version
4.17.1
30-day downloads
47.9K
Likes
71
Pub points
150

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

A Dart package providing an MQTT5 client for building real-time communication in applications across multiple platforms. It supports standard, secure (TLS), and WebSocket connections, enabling reliable messaging between devices and servers. Ideal for IoT, live data feeds, and chat applications, it works seamlessly on Android, iOS, Web, macOS, Windows, and Linux. The client implements the full MQTT 5 protocol, including advanced features like session persistence, enhanced error handling, and custom properties. It is designed for developers needing robust, cross-platform connectivity with minimal setup.

Use cases
  • IoT device communication
  • Real-time dashboards
  • Live chat applications
  • Remote sensor monitoring
  • Push notifications
  • Cross-platform messaging
Key features
  • Supports MQTT 5 protocol
  • Secure TLS and WebSocket connections
  • Session persistence
  • Cross-platform compatibility
  • Custom message properties
  • Error code handling
Suitable for
  • IoT developers
  • Real-time app builders
  • Web and mobile developers
  • Backend services requiring pub/sub
  • Applications needing reliable messaging
Considerations
  • Requires understanding of MQTT protocol
  • May need additional configuration for firewalls
  • WebSocket support depends on server setup
  • Not suitable for non-real-time use cases
  • Limited documentation compared to mature alternatives
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add mqtt5_client

Categories

Source repository

Related projects

No data available yet.