Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update SentrySdk.cs
  • Loading branch information
aritchie committed Mar 3, 2025
commit 8f2c6aea87f1537b7de2b87fec594c619e6e2ea7
5 changes: 4 additions & 1 deletion src/Sentry/Platforms/Android/SentrySdk.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,10 @@ private static void InitSentryAndroidSdk(SentryOptions options)
}
}

o.BeforeSend = new BeforeSendCallback(BeforeSendWrapper(options), options, o);
if (options.Android.SuppressSegfaults || options.Native.EnableBeforeSend || options.BeforeSendInternal != null)
{
o.BeforeSend = new BeforeSendCallback(BeforeSendWrapper(options), options, o);
}

// These options are from SentryAndroidOptions
o.AttachScreenshot = options.Native.AttachScreenshot;
Expand Down
Loading