How to get IMEI number after update android version 10

Android has added restrictions on who can access the non-resettable device identifiers such as the IMEI number starting from Android 10 and limited the apps that can use it to the apps that have the READ_PRIVILEGED_PHONE_STATE permission which isn’t available for non-platform apps :confused: If try to access any of these identifiers a security exception occurs. On Android 10 and hiegher, so unfortunately, there is no way to get the IMEI on Android 10 and hiegher unless your app is a platform app :grimacing:
See also here , there has been many topics about this as well for example and this
However, it you shouldn’t collect your users IMEI address any way.

3 Likes