mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Add the build number to rageshakes. (#3978)
This commit is contained in:
@@ -156,10 +156,11 @@ class BugReportService: NSObject, BugReportServiceProtocol {
|
|||||||
|
|
||||||
private var defaultParams: [MultipartFormData] {
|
private var defaultParams: [MultipartFormData] {
|
||||||
let (localTime, utcTime) = localAndUTCTime(for: Date())
|
let (localTime, utcTime) = localAndUTCTime(for: Date())
|
||||||
|
let version = "\(InfoPlistReader.main.bundleShortVersionString) (\(InfoPlistReader.main.bundleVersion))"
|
||||||
return [
|
return [
|
||||||
MultipartFormData(key: "user_agent", type: .text(value: "iOS")),
|
MultipartFormData(key: "user_agent", type: .text(value: "iOS")),
|
||||||
MultipartFormData(key: "app", type: .text(value: applicationID)),
|
MultipartFormData(key: "app", type: .text(value: applicationID)),
|
||||||
MultipartFormData(key: "version", type: .text(value: InfoPlistReader.main.bundleShortVersionString)),
|
MultipartFormData(key: "version", type: .text(value: version)),
|
||||||
MultipartFormData(key: "build", type: .text(value: InfoPlistReader.main.bundleVersion)),
|
MultipartFormData(key: "build", type: .text(value: InfoPlistReader.main.bundleVersion)),
|
||||||
MultipartFormData(key: "sdk_sha", type: .text(value: sdkGitSHA)),
|
MultipartFormData(key: "sdk_sha", type: .text(value: sdkGitSHA)),
|
||||||
MultipartFormData(key: "os", type: .text(value: os)),
|
MultipartFormData(key: "os", type: .text(value: os)),
|
||||||
|
|||||||
Reference in New Issue
Block a user