Android OS Forum banner
1 - 1 of 1 Posts

1 Posts
Discussion Starter · #1 ·
for my use cases I needed to extract non-resettable hardware information like IMEI, MAC from android devices.
As per the android docs for getting IMEI
It says the method can be invoked if one of the following requirements is met. and I am trying to satisfy. If the calling app has been granted the USE_ICC_AUTH_WITH_DEVICE_IDENTIFIER permission.
As per permission API document this permission has protection level signature or pops
So, I am going ahead with signature protection level. So, I am creating a signed app and running on my android device google pixel 5A which runs on Android 12.
when I am running this code I am facing "The user 10240 does not meet the requirements to access device identifiers." security exception
1 - 1 of 1 Posts