Get Users Device

Hello,

Is there a way I can get the device the game is being played on?

for example can I check if the game is played on an Galaxy S4

Kind of hiden away:

https://github.com/EpicGames/UnrealEngine/blob/a07fbf5ed73138b7af773a6acfbe1693a234b582/Engine/Source/Runtime/Core/Public/Android/AndroidMisc.h#L60

#if PLATFORM_ANDROID
FString Model = FAndroidMisc::GetDeviceModel();
#else
FString Model = "Other";
#endif

I placed in platfrom #if, because FAndroidMisc code won’t build in other platforms (including Windows, keep that in mind) and you gonna have compiler errors, you need to create code for each platfrom.

iOS have something similar but enum based:

https://github.com/EpicGames/UnrealEngine/blob/b281c38557ad245450fe44f39b9ae28fea3cbe97/Engine/Source/Runtime/Core/Public/IOS/IOSPlatformMisc.h#L114

Good info! Deleting my answer…

Great answer thanks!

How I can call this in Blueprint?