Skip to main content

device_diagnostics 0.0.7 copy "device_diagnostics: ^0.0.7" to clipboard
device_diagnostics: ^0.0.7 copied to clipboard

A Flutter package for opt-in device diagnostics, performance monitoring, network instrumentation, and PDF diagnostic reports.

Changelog #

All notable changes to device_diagnostics are documented in this file.

0.0.7 #

Added #

  • ๐Ÿ“Š Added enhanced PDF performance report summaries with average, minimum, and peak metric statistics.
  • ๐Ÿ“ˆ Improved performance timelines for memory usage, CPU utilization, frame rate, network traffic, and thermal state.
  • ๐Ÿ“‰ Added minimum metric statistics to provide additional insight into observed performance.

Changed #

  • ๐ŸŽจ Redesigned the floating diagnostic overlay with a more modern dashboard interface.
  • ๐Ÿ–ฅ๏ธ Improved metric presentation with dedicated cards for memory, CPU, FPS, dropped frames, network type, and thermal state.
  • ๐ŸŸข Improved recording status visibility and session controls.
  • ๐Ÿ“„ Improved PDF report presentation with a structured summary, device information, performance charts, screen visit details, and measurement limitations.
  • ๐ŸŒ Improved network traffic visualization by accumulating available per-sample received and sent byte deltas.
  • ๐Ÿ“ Improved chart axis scaling for clearer performance timelines.

Fixed #

  • ๐Ÿ› ๏ธ Fixed numeric type compatibility in PDF chart axis calculations.
  • ๐Ÿงน Removed unused-code warnings by incorporating minimum statistics into the PDF summary.

0.0.6 #

Fixed #

  • ๐Ÿ› Fixed the No Overlay widget found error when the diagnostic overlay is displayed outside the application's MaterialApp overlay hierarchy.
  • ๐Ÿ› ๏ธ Improved diagnostic overlay integration by providing an appropriate Overlay ancestor for overlay-dependent widgets, including tooltips.
  • ๐Ÿ”ง Improved compatibility with Flutter applications that wrap MaterialApp using DeviceDiagnostics.observability.
  • โ™ป๏ธ Improved overlay lifecycle handling to support reliable rendering and updates.

0.0.5 #

Fixed #

  • ๐Ÿ› Fixed the Directionality assertion triggered by the diagnostic overlay's Stack when no ancestor provides text direction.
  • ๐Ÿงญ Added a fallback text direction to support applications that wrap MaterialApp with DeviceDiagnostics.observability.
  • ๐Ÿ› ๏ธ Updated stack alignment to use Alignment.topLeft, removing the stack's dependency on directional alignment.
  • ๐Ÿ”ง Improved diagnostic overlay compatibility with Flutter's widget hierarchy.

0.0.4 #

Fixed #

  • ๐Ÿ› Fixed the missing Directionality issue in the diagnostic overlay when used above MaterialApp.
  • ๐Ÿงญ Added a fallback text direction to ensure the diagnostic overlay can resolve directional alignment when no ancestor provides Directionality.
  • ๐Ÿ› ๏ธ Improved diagnostic overlay compatibility with Flutter's inherited widget system.

0.0.3 #

Fixed #

  • ๐Ÿ› Fixed a Directionality error in the diagnostic overlay that occurred when the overlay was built without an ancestor providing text direction.
  • ๐Ÿงญ Improved overlay compatibility with Flutter applications using MaterialApp and inherited widget configurations.

0.0.2 #

Added #

  • ๐Ÿ“š Expanded the README with detailed installation and usage instructions.
  • ๐ŸŽ™๏ธ Documented all diagnostic visibility modes: debug, profile, release, debugAndRelease, and all.
  • โš™๏ธ Added explanations for configuration options and diagnostic session management.
  • ๐ŸŒ Improved documentation for HTTP network instrumentation.
  • ๐Ÿ“„ Expanded PDF reporting and platform support documentation.
  • ๐Ÿ” Added privacy, performance, and troubleshooting guidance.
  • ๐ŸŽจ Improved README presentation with emojis, badges, and clearer section organization.

Changed #

  • ๐Ÿ“ Improved the overall documentation structure and readability.
  • ๐Ÿ’ก Clarified platform-dependent metric availability and network instrumentation limitations.

0.0.1 Initial Release #

Added #

  • ๐Ÿš€ Initial release of the device_diagnostics Flutter package.
  • ๐Ÿ“Š Diagnostic session management and configurable metric collection.
  • ๐Ÿ“ฑ Device and platform metric reporting where supported.
  • โšก Frame performance monitoring where enabled and supported.
  • ๐ŸŒ Network instrumentation for requests made through DiagnosticHttpClient.
  • ๐Ÿงญ Screen route visit tracking through the route observer.
  • ๐Ÿ“„ PDF diagnostic report generation and optional sharing.
  • ๐Ÿ› ๏ธ Diagnostic overlay and observability integration.
  • โš™๏ธ Configuration options for diagnostic visibility and sampling behavior.

Notes #

  • Metric availability depends on the operating system and platform implementation.
  • Unsupported metrics may be unavailable.
  • Network instrumentation observes only traffic covered by the configured instrumentation.
  • Diagnostic measurements may vary depending on platform support, sampling conditions, and application workload.
3
likes
0
points
326
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for opt-in device diagnostics, performance monitoring, network instrumentation, and PDF diagnostic reports.

Repository (GitHub)
View/report issues

Topics

#diagnostics #performance #monitoring #flutter #debugging

License

unknown (license)

Dependencies

device_info_plus, flutter, http, path_provider, pdf, share_plus

More

Packages that depend on device_diagnostics

Packages that implement device_diagnostics