I want to not collect all the user/device context, like location, remaining battery and so on. Can I configure it somehow?
Here's my config:
.UseSentry(options => {
options.Dsn = "...";
options.CacheDirectoryPath = FileSystem.CacheDirectory;
options.InitCacheFlushTimeout = TimeSpan.FromSeconds(2);
options.IsGlobalModeEnabled = true;
options.TracesSampleRate = 0;
options.TracesSampler = context => null;
options.AutoSessionTracking = false;
options.SendDefaultPii = false;
options.DiagnosticLevel = SentryLevel.Warning;});