I want to know, how to get device unique identification number from which i can identify android phone. Before android 10 ,this use to get work.
TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
imeiNumber = tm.getDeviceId();
But In android 10 ,this is not working . Can anyone suggest what should i do for android 10.