chore: bump sentry_flutter to 9.15.0
This commit is contained in:
+12
-16
@@ -184,10 +184,9 @@ Breadcrumb? _beforeBreadcrumb(Breadcrumb? breadcrumb, Hint _) {
|
||||
final data = breadcrumb.data;
|
||||
if (message == null && (data == null || data.isEmpty)) return breadcrumb;
|
||||
|
||||
return breadcrumb.copyWith(
|
||||
message: message != null ? LogRedactionManager.redact(message) : null,
|
||||
data: data?.map((k, v) => MapEntry(k, v is String ? LogRedactionManager.redact(v) : v)),
|
||||
);
|
||||
if (message != null) breadcrumb.message = LogRedactionManager.redact(message);
|
||||
if (data != null) breadcrumb.data = data.map((k, v) => MapEntry(k, v is String ? LogRedactionManager.redact(v) : v));
|
||||
return breadcrumb;
|
||||
}
|
||||
|
||||
FutureOr<SentryEvent?> _beforeSend(SentryEvent event, Hint _) {
|
||||
@@ -215,29 +214,26 @@ FutureOr<SentryEvent?> _beforeSend(SentryEvent event, Hint _) {
|
||||
|
||||
// Scrub Plex tokens and server URLs from exception messages
|
||||
if (exceptions != null) {
|
||||
exceptions = exceptions.map((e) {
|
||||
for (final e in exceptions) {
|
||||
final value = e.value;
|
||||
if (value != null) {
|
||||
return e.copyWith(value: LogRedactionManager.redact(value));
|
||||
e.value = LogRedactionManager.redact(value);
|
||||
}
|
||||
return e;
|
||||
}).toList();
|
||||
}
|
||||
}
|
||||
|
||||
// Scrub breadcrumb messages and data
|
||||
var breadcrumbs = event.breadcrumbs;
|
||||
final breadcrumbs = event.breadcrumbs;
|
||||
if (breadcrumbs != null) {
|
||||
breadcrumbs = breadcrumbs.map((b) {
|
||||
for (final b in breadcrumbs) {
|
||||
final message = b.message;
|
||||
final data = b.data;
|
||||
return b.copyWith(
|
||||
message: message != null ? LogRedactionManager.redact(message) : null,
|
||||
data: data?.map((k, v) => MapEntry(k, v is String ? LogRedactionManager.redact(v) : v)),
|
||||
);
|
||||
}).toList();
|
||||
if (message != null) b.message = LogRedactionManager.redact(message);
|
||||
if (data != null) b.data = data.map((k, v) => MapEntry(k, v is String ? LogRedactionManager.redact(v) : v));
|
||||
}
|
||||
}
|
||||
|
||||
return event.copyWith(exceptions: exceptions, breadcrumbs: breadcrumbs);
|
||||
return event;
|
||||
}
|
||||
|
||||
void _registerShaderLicenses() {
|
||||
|
||||
@@ -13,6 +13,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
|
||||
)
|
||||
|
||||
list(APPEND FLUTTER_FFI_PLUGIN_LIST
|
||||
jni
|
||||
)
|
||||
|
||||
set(PLUGIN_BUNDLED_LIBRARIES)
|
||||
|
||||
+12
-4
@@ -601,6 +601,14 @@ packages:
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.0.5"
|
||||
jni:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: jni
|
||||
sha256: d2c361082d554d4593c3012e26f6b188f902acd291330f13d6427641a92b3da1
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "0.14.2"
|
||||
json_annotation:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
@@ -1006,18 +1014,18 @@ packages:
|
||||
dependency: transitive
|
||||
description:
|
||||
name: sentry
|
||||
sha256: "599701ca0693a74da361bc780b0752e1abc98226cf5095f6b069648116c896bb"
|
||||
sha256: a49b4fb1cba576fe216347dc2a0e6d76076fb998e6012857db96f991c23b7b3c
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "8.14.2"
|
||||
version: "9.15.0"
|
||||
sentry_flutter:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: sentry_flutter
|
||||
sha256: "5ba2cf40646a77d113b37a07bd69f61bb3ec8a73cbabe5537b05a7c89d2656f8"
|
||||
sha256: "25150030c93bd1d4b727ab61cfb09e99121c69ce90fa820bb9ca16dab433e43a"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "8.14.2"
|
||||
version: "9.15.0"
|
||||
shared_preferences:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@ dependencies:
|
||||
flutter_svg: ^2.2.3
|
||||
mobile_scanner: ^7.2.0
|
||||
background_downloader: ^9.5.2
|
||||
sentry_flutter: ^8.12.0
|
||||
sentry_flutter: ^9.15.0
|
||||
auto_updater:
|
||||
git:
|
||||
url: https://github.com/edde746/auto_updater
|
||||
|
||||
@@ -15,6 +15,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
|
||||
)
|
||||
|
||||
list(APPEND FLUTTER_FFI_PLUGIN_LIST
|
||||
jni
|
||||
)
|
||||
|
||||
set(PLUGIN_BUNDLED_LIBRARIES)
|
||||
|
||||
Reference in New Issue
Block a user