# Permanent / Constant Android Device ID / Name

**URL:** <https://forums.unrealengine.com/t/permanent-constant-android-device-id-name/1898839>\
**Category:** Mobile\
**Tags:** Android-Packaging, mobile-device, android-device, unreal-engine, Android, CPP, question\
**Created:** [June 11, 2024, 10:51am UTC](https://forums.unrealengine.com/t/permanent-constant-android-device-id-name/1898839 "2024-06-11T10:51:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JulianPW](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JulianPW](https://forums.unrealengine.com/u/JulianPW)\
**Post date:** [June 11, 2024, 10:51am UTC](https://forums.unrealengine.com/t/permanent-constant-android-device-id-name/1898839/1 "2024-06-11T10:51:15Z")

</div>

I am currently searching for a way to identify an android device, more specifically Quest 2 & 3 devices. I am looking for a unique permanent device identification. I already tried `FAndroidMisc::GetDeviceId()`, `FPlatformMisc::GetMachineId()`, and several functions from `FGenericPlatform`. These functions either change on each packaging cycle or do not return anything valid.  
The suggestions from [Is there anyway to get a Unique device ID on Android?](https://forums.unrealengine.com/t/is-there-anyway-to-get-a-unique-device-id-on-android/341411) also did not work or lead to crashes similar to other persons mentioning in that discussion.  
Any sort of String which correctly represents/identifies the device in the same way after each packaging cycle would suffice.
