simple_error_reporter 1.0.2
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.dartanderror_reporter_for_native.dartnow importerror_report_obj.dartanderror_reporter_config.dartdirectly instead of the barrel file. - Added dartdoc comments to all public API members (
allowReportingfield,ErrorReportObjfields).
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 globalRetryConfiginsimple_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).
allowReportingflag for consent-based reporting control.onSendFailurecallback for handling send failures.- Automatic error catching via
FlutterError.onErrorandPlatformDispatcher.instance.onError.
Breaking changes from simple_jwt_manager #
ErrorReportObj.timestampis 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.