Get device id error solution

i am getting problem in getting device id in ewly launched mobiles phones

anyone please tell solution or extension\

Won’t work on Android 10 and higher devices because the application needs this permission:
android.permission.READ_PRIVILEGED_PHONE_STATE
Which is granted to only apps signed with the platform key and privileged system apps.

So there is no way to get DeviceId, get Imei, get Meid, get SimSerialNumber, get SubscriberId and get Serial

https://source.android.com/devices/tech/config/device-identifiers

1 Like

how to i get platform key

Meaning keystore ?

1 Like

This post was flagged by the community and is temporarily hidden.