I am trying to get the imei number of the phone by using telephonymanager in android . but in Android Q , I am not getting the device imei .
Is there any way to imei number in android Q programmatically?
TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
IMEINumber = tm.getDeviceId();
Returning null in Android Q