Skip to content

Commit 42d4a06

Browse files
authored
[Sessions] Use deviceSimulatorModel only for compatibility with Crashlytics (#10541)
1 parent cb72f94 commit 42d4a06

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

FirebaseSessions/Sources/ApplicationInfo.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,7 @@ class ApplicationInfo: ApplicationInfoProtocol {
8181
}
8282

8383
var deviceModel: String {
84-
#if targetEnvironment(simulator)
85-
return GULAppEnvironmentUtil.deviceSimulatorModel() ?? ""
86-
#else
87-
return GULAppEnvironmentUtil.deviceModel() ?? ""
88-
#endif // targetEnvironment(simulator)
84+
return GULAppEnvironmentUtil.deviceSimulatorModel() ?? ""
8985
}
9086

9187
var mccMNC: String {

0 commit comments

Comments
 (0)