flutter_mayday 0.2.0
flutter_mayday: ^0.2.0 copied to clipboard
On-device crash reporting for Flutter. Captures device, session, network, logs, errors, and performance into a single shareable .blackbox file — no server, no account, no dashboard required.
0.2.0 #
-
Package renamed from
black_boxtoflutter_black_box. Import path is nowpackage:flutter_black_box/flutter_black_box.dart. -
BlackBox.setNavigatorKey()— new API to register aGlobalKey<NavigatorState>so the overlay can pushBlackBoxViewerScreenfrom aboveMaterialApp(shake and badge tap). -
android/build.gradleandios/flutter_black_box.podspec— build files added; the plugin was previously missing Gradle and CocoaPods configuration. -
BlackBoxOnCrashnow fires correctly. Fatal errors recorded byErrorCollectortriggerexport()and optionallyshare()according to the configuredonCrashvalue. Previously the enum had no effect. -
Export timeout.
BlackBox.export()now times out after 30 seconds and throwsTimeoutExceptionif a state adapter serialiser hangs, preventing indefinite UI freezes. -
Screenshot on crash. When
screenshotOnCrash: true,BlackBoxScopecaptures a PNG viaRepaintBoundaryat crash time and embeds it asscreenshot_png_b64in the report. -
Shake-to-report.
BlackBoxOverlaynow usessensors_plusto listen for real shake gestures whenshakeToReport: true. Long-press on the badge still works as a fallback. -
ReportFormat.json. New export format writes pretty-printed JSON directly — opens in any text editor without a special viewer. -
BlackBoxMode.off. New mode fully disables all collection. All recording methods become no-ops;export/capture/sharethrowStateError. Use for enterprise telemetry opt-out. -
Fixed double
deviceCollector.collect().ReportBuilder._environment()now caches the device snapshot instead of callingcollect()twice per export. -
pub.dev metadata. Added
repository,issue_tracker, andtopicstopubspec.yaml.
0.1.0 #
- Initial BlackBox package implementation.
- Added bounded collectors for app, device, errors, navigation, Dio network traffic, logs, frame timings, and verbose gestures.
- Added
.blackboxbinary envelope encoder/decoder with gzip and CRC32 verification. - Added recursive PII sanitizer with key blocklist, regex, JWT, and credit-card rules.
- Added BLoC and GetX state adapters, root scope, overlay, native method channels, example app, and tests.