imei_plugin icon indicating copy to clipboard operation
imei_plugin copied to clipboard

I still can't get IMEI in android 10, could you help me?

Open micaelsn opened this issue 5 years ago • 5 comments

micaelsn avatar Mar 15 '20 18:03 micaelsn

i have the same question.

crsmillan avatar Apr 21 '20 15:04 crsmillan

No. you cannot get imei in Android 10. The privacy changes.

Check the info from android developers

crsmillan avatar Apr 23 '20 23:04 crsmillan

#17

jerinho avatar Apr 25 '20 11:04 jerinho

In andriod 10 i got random string how we resolve this

amitsingh6391 avatar Oct 30 '20 11:10 amitsingh6391

Android no longer allows you to access the IMEI or any other device identifier starting from android 10. Third-party apps can not use IMEI & the serial number of a phone and other non-resettable device identifiers. So, now you can't access:

getSerial(),

getImei(),

getDeviceId(),

getSimSerialNumber(),

getSubscriberId()

You have to use another unique identifier for this like Android ID

Please refer: https://developer.android.com/preview/privacy/data-identifiers#device-ids credits :https://stackoverflow.com/a/64657600/12009799

WaheedHussainHaans avatar Mar 15 '21 17:03 WaheedHussainHaans