Skip to main content

device_diagnostics 0.1.0 copy "device_diagnostics: ^0.1.0" to clipboard
device_diagnostics: ^0.1.0 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.1.0 #

Added #

  • ๐Ÿš€ Prepared the package for the 0.1.0 release with updated package metadata and platform configuration.
  • ๐Ÿ“ฑ Improved native diagnostic integration for Android and iOS.
  • ๐Ÿงช Improved example-app test configuration to support package validation.
  • ๐Ÿ“ฆ Updated package and example dependency configuration for development and analysis.

Changed #

  • ๐Ÿ› ๏ธ Refined Android Gradle configuration for modern Android and Kotlin tooling compatibility.
  • ๐ŸŽ Updated iOS package structure and configuration work toward supporting modern Swift Package Manager integration alongside CocoaPods.
  • ๐Ÿ“š Improved package configuration and release-readiness documentation.
  • ๐Ÿ” Continued improving analyzer compatibility and maintainability across the package and example project.

Fixed #

  • ๐Ÿ“„ Fixed PDF report generation failures caused by infinite-height constraints.
  • ๐Ÿ“ Improved PDF layout constraint handling to reduce height-related rendering errors.
  • ๐ŸŽจ Preserved the existing diagnostic report layout and visual styling while addressing PDF export issues.
  • ๐Ÿงช Corrected example widget-test references after the example app structure changed.
  • โš™๏ธ Updated example development dependencies to resolve missing Flutter test and lint package references.

Notes #

  • Native platform metrics remain dependent on operating-system capabilities and platform implementation.
  • Android and iOS platform builds should be validated before release.
  • Swift Package Manager and CocoaPods integration should both be tested before claiming full iOS package-manager compatibility.
  • Package analysis, tests, and flutter pub publish --dry-run should pass before publishing the release.

0.0.9 #

Fixed #

  • ๐Ÿ› Fixed PDF export failure caused by an infinite-height constraint during PDF report generation.
  • ๐Ÿ“„ Improved PDF rendering reliability by resolving layout constraints that could cause height-related rendering errors.
  • ๐ŸŽจ Preserved the existing diagnostic report layout and visual styling while fixing the PDF export issue.

0.0.8 #

Fixed #

  • ๐Ÿ› Fixed PDF export failure caused by an incompatible combination of borderRadius and non-uniform borders in PDF metric cards.
  • ๐Ÿ“„ Improved PDF report generation reliability by correcting metric card border decoration.
  • ๐ŸŽจ Preserved the diagnostic report's visual styling while resolving the PDF rendering assertion.

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.
  • ๐Ÿงน Incorporated minimum statistics into the PDF summary to eliminate the unused-function warning.

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
150
points
310
downloads

Documentation

API reference

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
Contributing

Topics

#diagnostics #performance #monitoring #flutter #debugging

License

MIT (license)

Dependencies

device_info_plus, flutter, http, path_provider, pdf, share_plus

More

Packages that depend on device_diagnostics

Packages that implement device_diagnostics