From d060a051ef38acdc522f0caeace2856310d1308a Mon Sep 17 00:00:00 2001 From: Thibault Deckers Date: Sun, 4 Feb 2024 22:43:48 +0100 Subject: [PATCH] reporting: prevent noisy reports --- CHANGELOG.md | 4 ++++ plugins/aves_report_crashlytics/lib/aves_report_platform.dart | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 216ce3367..99a509938 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +### Fixed + +- motion photo detection for xml variant of google container item + ## [v1.10.3] - 2024-01-29 ### Added diff --git a/plugins/aves_report_crashlytics/lib/aves_report_platform.dart b/plugins/aves_report_crashlytics/lib/aves_report_platform.dart index 11337eff3..d779a2b97 100644 --- a/plugins/aves_report_crashlytics/lib/aves_report_platform.dart +++ b/plugins/aves_report_crashlytics/lib/aves_report_platform.dart @@ -78,6 +78,8 @@ class PlatformReportService extends ReportService { @override Future recordFlutterError(FlutterErrorDetails flutterErrorDetails) async { - return _instance?.recordFlutterError(flutterErrorDetails); + if (!flutterErrorDetails.silent) { + return _instance?.recordFlutterError(flutterErrorDetails); + } } }