diff --git a/CHANGELOG.md b/CHANGELOG.md index 22a457bbb0..ecbdf91b2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,9 @@ - Bump Cocoa SDK from v8.7.2 to v8.7.3 ([#2394](https://github.com/getsentry/sentry-dotnet/pull/2394)) - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#873) - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.7.2...8.7.3) +- Bump Java SDK from v6.19.1 to v6.20.0 ([#2395](https://github.com/getsentry/sentry-dotnet/pull/2395)) + - [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6200) + - [diff](https://github.com/getsentry/sentry-java/compare/6.19.1...6.20.0) ## 3.33.0 diff --git a/src/Sentry.Bindings.Android/Sentry.Bindings.Android.csproj b/src/Sentry.Bindings.Android/Sentry.Bindings.Android.csproj index fc77b422f6..d79c3be3fa 100644 --- a/src/Sentry.Bindings.Android/Sentry.Bindings.Android.csproj +++ b/src/Sentry.Bindings.Android/Sentry.Bindings.Android.csproj @@ -3,7 +3,7 @@ net6.0-android $(NoWarn);BG8605;BG8606 - 6.19.1 + 6.20.0 $(BaseIntermediateOutputPath)sdks\Sentry\Android\$(SentryAndroidSdkVersion)\ .NET Bindings for the Sentry Android SDK diff --git a/src/Sentry/Platforms/Android/SentryOptions.cs b/src/Sentry/Platforms/Android/SentryOptions.cs index 459b3ad408..2c352c729c 100644 --- a/src/Sentry/Platforms/Android/SentryOptions.cs +++ b/src/Sentry/Platforms/Android/SentryOptions.cs @@ -87,6 +87,13 @@ internal AndroidOptions(SentryOptions options) /// public bool EnableAppLifecycleBreadcrumbs { get; set; } = true; + /// + /// Gets or sets a value that controls checking whether the device has been rooted. The check itself may cause app stores to flag + /// an application as harmful, in which case this property can be set false to disable the check. + /// The default value is true (enabled). + /// + public bool EnableRootCheck { get; set; } = true; + /// /// Gets or sets a value that indicates if automatic breadcrumbs for system events are enabled. /// The default value is true (enabled). diff --git a/src/Sentry/Platforms/Android/SentrySdk.cs b/src/Sentry/Platforms/Android/SentrySdk.cs index 232ec39df2..09019f418a 100644 --- a/src/Sentry/Platforms/Android/SentrySdk.cs +++ b/src/Sentry/Platforms/Android/SentrySdk.cs @@ -141,6 +141,7 @@ private static void InitSentryAndroidSdk(SentryOptions options) o.EnableActivityLifecycleTracingAutoFinish = options.Android.EnableActivityLifecycleTracingAutoFinish; o.EnableAppComponentBreadcrumbs = options.Android.EnableAppComponentBreadcrumbs; o.EnableAppLifecycleBreadcrumbs = options.Android.EnableAppLifecycleBreadcrumbs; + o.EnableRootCheck = options.Android.EnableRootCheck; o.EnableSystemEventBreadcrumbs = options.Android.EnableSystemEventBreadcrumbs; o.EnableUserInteractionBreadcrumbs = options.Android.EnableUserInteractionBreadcrumbs; o.EnableUserInteractionTracing = options.Android.EnableUserInteractionTracing;