Skip to content
Prev Previous commit
Next Next commit
Revert EnableNdk to true by default
  • Loading branch information
jamescrosswell committed Feb 3, 2025
commit 34853214fb91015f185e447114116c7c0bdc30b8
10 changes: 2 additions & 8 deletions src/Sentry/Platforms/Android/NativeOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -167,19 +167,13 @@ internal NativeOptions(SentryOptions options)
public TimeSpan ConnectionTimeout { get; set; } = TimeSpan.FromSeconds(5);

/// <summary>
/// <para>
/// Gets or sets a value that indicates if the NDK (Android Native Development Kit) is enabled.
/// The default value is <c>false</c> (disabled).
/// </para>
/// <para>
/// NOTE: We do not currently recommend enabling this feature.
/// See: https://github.com/getsentry/sentry-dotnet/issues/3902
/// </para>
/// The default value is <c>true</c> (enabled).
/// </summary>
/// <remarks>
/// See https://docs.sentry.io/platforms/android/using-ndk/#disable-ndk-integration
/// </remarks>
public bool EnableNdk { get; set; } = false;
public bool EnableNdk { get; set; } = true;

/// <summary>
/// Gets or sets a value that indicates if the hook that flushes when the main Java thread shuts down
Expand Down