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
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ When releasing a new version:

### Breaking Changes

_None._
- Sentry: The default `releaseName` value is now the Sentry default of `package@version+build` (e.g. com.bundle.identifier@1.2+1.2.3.4) instead of only providing the `CFBundleVersionKey` [#267]

### New Features

Expand Down
1 change: 0 additions & 1 deletion Sources/Remote Logging/Crash Logging/CrashLogging.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ public class CrashLogging {
options.diagnosticLevel = .error

options.environment = self.dataProvider.buildType
options.releaseName = self.dataProvider.releaseName
options.enableAutoSessionTracking = self.dataProvider.shouldEnableAutomaticSessionTracking
options.enableAppHangTracking = self.dataProvider.enableAppHangTracking
options.enableCaptureFailedRequests = self.dataProvider.enableCaptureFailedRequests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ public protocol CrashLoggingDataProvider {
var sentryDSN: String { get }
var userHasOptedOut: Bool { get }
var buildType: String { get }
var releaseName: String { get }
var currentUser: TracksUser? { get }
var additionalUserData: [String: Any] { get }
var shouldEnableAutomaticSessionTracking: Bool { get }
Expand All @@ -22,10 +21,6 @@ public protocol CrashLoggingDataProvider {
/// Default implementations of common protocol properties
public extension CrashLoggingDataProvider {

var releaseName: String {
return Bundle.main.object(forInfoDictionaryKey: kCFBundleVersionKey as String) as! String
}

var additionalUserData: [String: Any] {
return [ : ]
}
Expand Down