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
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Unreleased

### BREAKING CHANGES

- SentryOptions.IsEnvironmentUser now defaults to false on MAUI. The means the User.Name will no longer be set, by default, to the name of the device ([#4606](https://github.com/getsentry/sentry-dotnet/pull/4606))
- Remove unnecessary files from SentryCocoaFramework before packing ([#4602](https://github.com/getsentry/sentry-dotnet/pull/4602))

## 6.0.0-preview.1
Expand Down
1 change: 1 addition & 0 deletions src/Sentry.Maui/SentryMauiOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public SentryMauiOptions()
// there for all MAUI targets, we'll set them again here.
AutoSessionTracking = true;
DetectStartupTime = StartupTimeDetectionMode.Fast;
IsEnvironmentUser = false;
#if !PLATFORM_NEUTRAL
CacheDirectoryPath = Microsoft.Maui.Storage.FileSystem.CacheDirectory;
#endif
Expand Down
7 changes: 7 additions & 0 deletions test/Sentry.Maui.Tests/SentryMauiOptionsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ public class SentryMauiOptionsTests
NetworkStatusListener = FakeReliableNetworkStatusListener.Instance
};

[Fact]
public void IsEnvironmentUser_Default()
{
var options = GetSut();
Assert.False(options.IsEnvironmentUser);
}

[Fact]
public void IncludeTextInBreadcrumbs_Default()
{
Expand Down
Loading