fix(telemetry): lowercase osFamily to match server enum
This commit is contained in:
parent
75927d00e2
commit
77254b751e
@ -113,7 +113,7 @@ class TelemetryService @Inject constructor(
|
|||||||
sessionId = sessionId,
|
sessionId = sessionId,
|
||||||
platform = "android",
|
platform = "android",
|
||||||
channel = "native",
|
channel = "native",
|
||||||
osFamily = "Android",
|
osFamily = "android",
|
||||||
osVersion = "Android ${Build.VERSION.RELEASE} (API ${Build.VERSION.SDK_INT})",
|
osVersion = "Android ${Build.VERSION.RELEASE} (API ${Build.VERSION.SDK_INT})",
|
||||||
appVersion = "0.1.0",
|
appVersion = "0.1.0",
|
||||||
buildNumber = "1",
|
buildNumber = "1",
|
||||||
|
|||||||
@ -88,7 +88,7 @@ final class CMTelemetryService {
|
|||||||
sessionId: sessionId,
|
sessionId: sessionId,
|
||||||
platform: platform,
|
platform: platform,
|
||||||
channel: channel,
|
channel: channel,
|
||||||
osFamily: "iOS",
|
osFamily: "ios",
|
||||||
osVersion: ProcessInfo.processInfo.operatingSystemVersionString,
|
osVersion: ProcessInfo.processInfo.operatingSystemVersionString,
|
||||||
appVersion: Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? "0.1.0",
|
appVersion: Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? "0.1.0",
|
||||||
buildNumber: Bundle.main.infoDictionary?["CFBundleVersion"] as? String ?? "1",
|
buildNumber: Bundle.main.infoDictionary?["CFBundleVersion"] as? String ?? "1",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user