Skip to content

Commit 6372eb3

Browse files
author
Josh Holtz
authored
Defaulting release version (#41)
1 parent 5492833 commit 6372eb3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/Sentry.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ import Foundation
7979
/// Creates a Sentry object to use for reporting
8080
internal init(dsn: DSN) {
8181
self.dsn = dsn
82+
self.releaseVersion = NSBundle.mainBundle().infoDictionary?["CFBundleShortVersionString"] as? String
8283
super.init()
8384
sendEventsOnDisk()
8485
}

0 commit comments

Comments
 (0)