simple_error_reporter 1.0.2 copy "simple_error_reporter: ^1.0.2" to clipboard
simple_error_reporter: ^1.0.2 copied to clipboard

A Flutter package for reporting errors to a backend server with rate limiting and deduplication.

1.0.2 - 2026-05-04 #

  • The static analysis on pub.dev failed, so we're redeploying.

1.0.1 - 2026-05-03 #

  • Fixed circular import: error_reporter.dart and error_reporter_for_native.dart now import error_report_obj.dart and error_reporter_config.dart directly instead of the barrel file.
  • Added dartdoc comments to all public API members (allowReporting field, ErrorReportObj fields).

1.0.0 - 2026-05-03 #

  • Initial release as a standalone package, extracted from simple_jwt_manager.
  • ErrorReporter: Automatic and manual error reporting for web and native platforms.
  • ErrorReporterForNative: Error reporting for native platforms with self-signed certificate support.
  • ErrorReportObj: Data object representing the error payload sent to the server.
  • ErrorReporterConfig: Singleton for independent retry control without affecting the global RetryConfig in simple_https_service.
  • Rate limiting: configurable max reports per time window to prevent error loops.
  • Duplicate filtering: prevents sending the same error multiple times (up to 1000 recent errors).
  • allowReporting flag for consent-based reporting control.
  • onSendFailure callback for handling send failures.
  • Automatic error catching via FlutterError.onError and PlatformDispatcher.instance.onError.

Breaking changes from simple_jwt_manager #

  • ErrorReportObj.timestamp is now sent in UTC ISO 8601 format (e.g. "2026-05-03T03:00:00.000Z"). Previously, the local device time without timezone information was used.
0
likes
160
points
140
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter package for reporting errors to a backend server with rate limiting and deduplication.

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

flutter, simple_https_service

More

Packages that depend on simple_error_reporter