Skip to content
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

### Fixes

- Avoid double reporting sessions on iOS and Android apps ([#4341](https://github.com/getsentry/sentry-dotnet/pull/4341))
- Sentry now decompresses Request bodies in ASP.NET Core when RequestDecompression middleware is enabled ([#4315](https://github.com/getsentry/sentry-dotnet/pull/4315))
- Custom ISentryEventProcessors are now run for native iOS events ([#4318](https://github.com/getsentry/sentry-dotnet/pull/4318))
- Crontab validation when capturing checkins ([#4314](https://github.com/getsentry/sentry-dotnet/pull/4314))
Expand Down
3 changes: 2 additions & 1 deletion src/Sentry/Platforms/Android/SentrySdk.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ private static void InitSentryAndroidSdk(SentryOptions options)
o.DiagnosticLevel = options.DiagnosticLevel.ToJavaSentryLevel();
o.Dist = options.Distribution;
o.Dsn = options.Dsn;
o.EnableAutoSessionTracking = options.AutoSessionTracking;
// Hardcode to false because .NET SDK manages sessions itself
o.EnableAutoSessionTracking = false;
o.Environment = options.Environment;
o.FlushTimeoutMillis = (long)options.InitCacheFlushTimeout.TotalMilliseconds;
o.MaxAttachmentSize = options.MaxAttachmentSize;
Expand Down
3 changes: 2 additions & 1 deletion src/Sentry/Platforms/Cocoa/SentrySdk.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ private static void InitSentryCocoaSdk(SentryOptions options)
nativeOptions.Debug = options.Debug;
nativeOptions.DiagnosticLevel = options.DiagnosticLevel.ToCocoaSentryLevel();
nativeOptions.Dsn = options.Dsn;
nativeOptions.EnableAutoSessionTracking = options.AutoSessionTracking;
// Hardcode to false because .NET SDK manages sessions itself
nativeOptions.EnableAutoSessionTracking = false;
nativeOptions.EnableCaptureFailedRequests = options.CaptureFailedRequests;
nativeOptions.FailedRequestStatusCodes = GetFailedRequestStatusCodes(options.FailedRequestStatusCodes);
nativeOptions.MaxAttachmentSize = (nuint)options.MaxAttachmentSize;
Expand Down
Loading