I need to access IMEI number of android phones using ionic to uniquely identify devices. It is working for android version 9 and lower but not working for android 10. Is there any way to access IMEI number for Android 10 or is there any alternative to uniquely identify the android devices.
Asked
Active
Viewed 1,375 times
-1
-
Does this answer your question? [How to get the device's IMEI/ESN programmatically in android?](https://stackoverflow.com/questions/1972381/how-to-get-the-devices-imei-esn-programmatically-in-android) – Chris Browne Mar 16 '20 at 13:58
-
let me know what version of ionic are you using – Shanmugapriya D Mar 17 '20 at 09:02
-
I am using ionic version 5.4.16. – Shubham Tiwari Mar 17 '20 at 09:50
1 Answers
-1
Have you checked this: Best practices for unique identifiers
You can use:
String uniqueID = UUID.randomUUID().toString();
You can save it in preference to maintain uniqueness.

Pratik Butani
- 60,504
- 58
- 273
- 437