From 474fe4ad592cce59f678fa23288911d4eafbc330 Mon Sep 17 00:00:00 2001 From: YermekG Date: Thu, 22 Feb 2024 15:06:56 +1300 Subject: [PATCH] feat: added device model info for bridge analytics --- Source/Immutable/Public/Immutable/ImmutableDataTypes.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Immutable/Public/Immutable/ImmutableDataTypes.h b/Source/Immutable/Public/Immutable/ImmutableDataTypes.h index 6434e78..527f651 100644 --- a/Source/Immutable/Public/Immutable/ImmutableDataTypes.h +++ b/Source/Immutable/Public/Immutable/ImmutableDataTypes.h @@ -26,6 +26,10 @@ struct FImmutableEngineVersionData // cannot have spaces UPROPERTY() FString platformVersion = FPlatformMisc::GetOSVersion().Replace(TEXT(" "), TEXT("_")); + + // Information on device. Examples of expected results: Apple|Apple M3 Max, GenuineIntel|13th Gen Intel(R) Core(TM) i7-13700H, Apple|iPhone15,4. + UPROPERTY() + FString deviceModel = FGenericPlatformMisc::GetDeviceMakeAndModel(); }; USTRUCT()