From 8da963b79cd7c021d86f1aa47d7a784966eb0179 Mon Sep 17 00:00:00 2001 From: AJ Lauer Barinov Date: Thu, 3 Aug 2023 19:03:31 -0700 Subject: [PATCH] Lowercase to avoid casing issues --- Sources/MuxUploadSDK/InternalUtilities/Reporting/Reporter.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/MuxUploadSDK/InternalUtilities/Reporting/Reporter.swift b/Sources/MuxUploadSDK/InternalUtilities/Reporting/Reporter.swift index 8a3a0684..d851b1f5 100644 --- a/Sources/MuxUploadSDK/InternalUtilities/Reporting/Reporter.swift +++ b/Sources/MuxUploadSDK/InternalUtilities/Reporting/Reporter.swift @@ -23,7 +23,7 @@ fileprivate func posixModelName() -> String { } fileprivate func inferredPlatformName() -> String { - let modelName = posixModelName() + let modelName = posixModelName().lowercased() if modelName.contains("ipad") { return "iPadOS" } else if modelName.contains("iphone") {