Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update Java SDK to v6.20.0 #2395

Merged
merged 3 commits into from
May 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<TargetFramework>net6.0-android</TargetFramework>
<!-- BG8605 and BG8606 happen because there's a missing androidx.lifecycle dependency, but we don't need it here. (The native Android Sentry SDK will use it if it exists.) -->
<NoWarn>$(NoWarn);BG8605;BG8606</NoWarn>
<SentryAndroidSdkVersion>6.19.1</SentryAndroidSdkVersion>
<SentryAndroidSdkVersion>6.20.0</SentryAndroidSdkVersion>
<SentryAndroidSdkDirectory>$(BaseIntermediateOutputPath)sdks\Sentry\Android\$(SentryAndroidSdkVersion)\</SentryAndroidSdkDirectory>
<Description>.NET Bindings for the Sentry Android SDK</Description>
</PropertyGroup>
Expand Down
7 changes: 7 additions & 0 deletions src/Sentry/Platforms/Android/SentryOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,13 @@ internal AndroidOptions(SentryOptions options)
/// </remarks>
public bool EnableAppLifecycleBreadcrumbs { get; set; } = true;

/// <summary>
/// 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 <c>false</c> to disable the check.
/// The default value is <c>true</c> (enabled).
/// </summary>
public bool EnableRootCheck { get; set; } = true;

/// <summary>
/// Gets or sets a value that indicates if automatic breadcrumbs for system events are enabled.
/// The default value is <c>true</c> (enabled).
Expand Down
1 change: 1 addition & 0 deletions src/Sentry/Platforms/Android/SentrySdk.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down