diff --git a/MobileConfiguration/Program.cs b/MobileConfiguration/Program.cs index 60c3425..1bdf1e2 100644 --- a/MobileConfiguration/Program.cs +++ b/MobileConfiguration/Program.cs @@ -43,7 +43,8 @@ o.Dsn = sentrySection; o.SendDefaultPii = true; o.MaxRequestBodySize = RequestSize.Always; - o.CaptureBlockingCalls = true; + o.CaptureBlockingCalls = ConfigurationReader.GetValueOrDefault("SentryConfiguration", "CaptureBlockingCalls", false); + o.IncludeActivityData = ConfigurationReader.GetValueOrDefault("SentryConfiguration", "IncludeActivityData", false); o.Release = Assembly.GetExecutingAssembly().GetName().Version?.ToString() ?? "unknown"; }); }