mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Rename Sign Out to Remove Device + Update SDK 26.03.18 (#5280)
* update the sdk * updated preview tests # Conflicts: # ElementX/Sources/Screens/Timeline/View/Style/TimelineItemSendInfoLabel.swift # ElementX/Sources/Screens/Timeline/View/TimelineItemViews/LiveLocationRoomTimelineView.swift * update sdk to 26.03.18 + regenerated preview tests after sign out copy change * updated UI tests * pr suggestions
This commit is contained in:
@@ -85,4 +85,14 @@ extension ProcessInfo {
|
||||
false
|
||||
#endif
|
||||
}
|
||||
|
||||
var platform: String {
|
||||
if #available(iOS 26.1, *), ProcessInfo.processInfo.isiOSAppOnVision {
|
||||
"visionOS"
|
||||
} else if ProcessInfo.processInfo.isiOSAppOnMac {
|
||||
"macOS"
|
||||
} else {
|
||||
"iOS"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,6 +37,11 @@ enum Tracing {
|
||||
// Log everything on integration tests to check whether
|
||||
// the logs contain any sensitive data. See `integration-tests.yml`
|
||||
let level: LogLevel = ProcessInfo.isRunningIntegrationTests ? .trace : logLevel
|
||||
let sentryConfig = sentryURL.map { url in
|
||||
SentryConfig(dsn: url.absoluteString,
|
||||
appVersion: InfoPlistReader.app.bundleShortVersionString,
|
||||
appPlatform: ProcessInfo.processInfo.platform)
|
||||
}
|
||||
|
||||
return .init(logLevel: level.rustLogLevel,
|
||||
traceLogPacks: traceLogPacks.map(\.rustLogPack),
|
||||
@@ -48,7 +53,7 @@ enum Tracing {
|
||||
// Total compressed size needs to be under CloudFlare's max request size of 50Mb
|
||||
maxTotalSizeBytes: 100 * 1024 * 1024, // 100Mb
|
||||
maxAgeSeconds: 7 * 24 * 60 * 60), // One week
|
||||
sentryDsn: sentryURL?.absoluteString)
|
||||
sentryConfig: sentryConfig)
|
||||
}
|
||||
|
||||
/// A list of all log file URLs, sorted chronologically.
|
||||
|
||||
Reference in New Issue
Block a user