We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af339e2 commit 8f2c6aeCopy full SHA for 8f2c6ae
src/Sentry/Platforms/Android/SentrySdk.cs
@@ -100,7 +100,10 @@ private static void InitSentryAndroidSdk(SentryOptions options)
100
}
101
102
103
- o.BeforeSend = new BeforeSendCallback(BeforeSendWrapper(options), options, o);
+ if (options.Android.SuppressSegfaults || options.Native.EnableBeforeSend || options.BeforeSendInternal != null)
104
+ {
105
+ o.BeforeSend = new BeforeSendCallback(BeforeSendWrapper(options), options, o);
106
+ }
107
108
// These options are from SentryAndroidOptions
109
o.AttachScreenshot = options.Native.AttachScreenshot;
0 commit comments