I am having a use case in which a user can log in from only a specific device. Prior to android 10 it was easy as the device identifier like IMEI,serial number was accessible. Each user ID'S were mapped against one IMEI(one to one mapping). But in android 10 these identifiers are not accessible. Hence unable to uniquely identify the device. How can we access the IMEI number in android 10 or any alternate identifier which can uniquely identify a device.
Asked
Active
Viewed 301 times
1
-
Please See this answer , Maybe help you . https://stackoverflow.com/questions/67270143/unique-id-for-each-android-device/70459287#70459287 – Hatem Darwish Jan 23 '22 at 09:19
1 Answers
0
Check first Answer here.
it's using UUID with MediaDrm.
Tested on Xiaomi Pocophone F1 with Android 10 and it survived reboot, uninstall.
I didn't test it yet over the factory reset.

Moataz Mohamed
- 107
- 1
- 9