mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
Include browser version in parsed user agent (PSG-761) (#6788)
* Update UserSessionInfo structure to include client version * Add string for browser * Update user agent parser to parse browser version too * Add browser row into the session details * Add changelog * Fix tests * Run Swift format
This commit is contained in:
+3
-2
@@ -93,13 +93,14 @@ class UserSessionOverviewViewModelTests: XCTestCase {
|
||||
isVerified: false,
|
||||
lastSeenIP: "10.0.0.10",
|
||||
lastSeenTimestamp: Date().timeIntervalSince1970 - 100,
|
||||
applicationName: "Element",
|
||||
applicationName: "Element iOS",
|
||||
applicationVersion: "1.9.7",
|
||||
applicationURL: nil,
|
||||
deviceModel: "iPhone XS",
|
||||
deviceOS: "iOS 15.5",
|
||||
lastSeenIPLocation: nil,
|
||||
deviceName: "Mobile",
|
||||
clientName: "Element",
|
||||
clientVersion: "1.9.7",
|
||||
isActive: true,
|
||||
isCurrent: true)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user