Skip to content
Merged
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
25 changes: 0 additions & 25 deletions src/Sentry/SentryOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1854,31 +1854,6 @@ internal void LogDiagnosticWarning()
}
}

internal string? TryGetDsnSpecificCacheDirectoryPath()
{
if (string.IsNullOrWhiteSpace(CacheDirectoryPath))
{
return null;
}

// DSN must be set to use caching
if (string.IsNullOrWhiteSpace(Dsn))
{
return null;
}
#if IOS || ANDROID // on iOS or Android the app is already sandboxed so there's no risk of sending data from 1 app to another Sentry's DSN
return Path.Combine(CacheDirectoryPath, "Sentry");
#else
return Path.Combine(CacheDirectoryPath, "Sentry", Dsn.GetHashString());
#endif
}

internal string? TryGetProcessSpecificCacheDirectoryPath()
{
// In the future, this will most likely contain process ID
return TryGetDsnSpecificCacheDirectoryPath();
}

internal static List<StringOrRegex> GetDefaultInAppExclude() =>
[
"System",
Expand Down
Loading