pulse_mqtt 1.0.1 copy "pulse_mqtt: ^1.0.1" to clipboard
pulse_mqtt: ^1.0.1 copied to clipboard

Production-ready Flutter MQTT client with command-based API, retry policies, health monitoring, and auto-reconnect. Dart port of Zomato pulse-droid.

140/ 160
pub points
18
downloads

We analyzed this package 4 days ago, and awarded it 140 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

178 out of 224 API elements (79.5 %) have documentation comments.

Some symbols that are missing documentation: pulse_mqtt.AutoSubscriptionConfig.AutoSubscriptionConfig.new, pulse_mqtt.CommandResultData.CommandResultData.new, pulse_mqtt.ConnectCommand.ConnectCommand.new, pulse_mqtt.ConnectionOptions.ConnectionOptions.new, pulse_mqtt.ConnectionOptions.copyWith.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:pulse_mqtt/pulse_mqtt.dart that imports:
  • package:pulse_mqtt/src/commands/publish_command.dart that imports:
  • package:pulse_mqtt/src/commands/mqtt_command.dart that imports:
  • package:pulse_mqtt/src/mqtt_client/dart_mqtt_client_internal.dart that imports:
  • package:mqtt_client/mqtt_server_client.dart that imports:
  • dart:io

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:pulse_mqtt/pulse_mqtt.dart that imports:
  • package:pulse_mqtt/src/pulse_mqtt_kit.dart that imports:
  • package:pulse_mqtt/src/pulse_mqtt_kit_internal.dart that imports:
  • package:pulse_mqtt/src/mqtt_command_handler.dart that imports:
  • package:pulse_mqtt/src/network/z_network_observer.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:pulse_mqtt/pulse_mqtt.dart that imports:
  • package:pulse_mqtt/src/pulse_mqtt_kit.dart that imports:
  • package:pulse_mqtt/src/pulse_mqtt_kit_internal.dart that imports:
  • package:pulse_mqtt/src/mqtt_command_handler.dart that imports:
  • package:pulse_mqtt/src/network/z_network_observer.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `Windows`.

Because:

  • package:pulse_mqtt/pulse_mqtt.dart that imports:
  • package:pulse_mqtt/src/pulse_mqtt_kit.dart that imports:
  • package:pulse_mqtt/src/pulse_mqtt_kit_internal.dart that imports:
  • package:pulse_mqtt/src/mqtt_command_handler.dart that imports:
  • package:pulse_mqtt/src/network/z_network_observer.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `macOS`.

Because:

  • package:pulse_mqtt/pulse_mqtt.dart that imports:
  • package:pulse_mqtt/src/pulse_mqtt_kit.dart that imports:
  • package:pulse_mqtt/src/pulse_mqtt_kit_internal.dart that imports:
  • package:pulse_mqtt/src/mqtt_command_handler.dart that imports:
  • package:pulse_mqtt/src/network/z_network_observer.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

WARNING: Returning a 'Future' without 'await' inside a try block.

lib/src/mqtt_command_handler.dart:191:11

    ╷
191 │           return _handleSuccess(command, base, attempt);
    │           ^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/mqtt_command_handler.dart

WARNING: Returning a 'Future' without 'await' inside a try block.

lib/src/mqtt_command_handler.dart:195:11

    ╷
195 │           return _handleFailure(command, base, attempt);
    │           ^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/mqtt_command_handler.dart

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
connectivity_plus >=6.0.0 <8.0.0 7.3.1 7.3.1
mqtt_client ^10.2.1 10.11.11 10.11.11
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
connectivity_plus_platform_interface - 2.1.0 2.1.0
crypto - 3.0.7 3.0.7
dbus - 0.7.15 0.7.15
event_bus - 2.0.1 2.0.1
ffi - 2.2.0 2.2.0
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
nm - 0.5.0 0.5.0
path - 1.9.1 1.9.1
petitparser - 7.0.2 7.0.2
plugin_platform_interface - 2.1.8 2.1.8
typed_data - 1.4.0 1.4.0
vector_math - 2.4.2 2.4.2
web - 1.1.1 1.1.1
xml - 7.0.1 7.0.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.18, Flutter 3.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
140
points
18
downloads

Documentation

API reference

Publisher

verified publishertechwithaditya.in

Weekly Downloads

Production-ready Flutter MQTT client with command-based API, retry policies, health monitoring, and auto-reconnect. Dart port of Zomato pulse-droid.

Repository (GitHub)
View/report issues
Contributing

Topics

#mqtt #flutter #iot #live-tracking #connectivity

License

Apache-2.0 (license)

Dependencies

connectivity_plus, flutter, mqtt_client

More

Packages that depend on pulse_mqtt