SIM serial information API level 29

Stack Overflow Asked by fturriaf on January 3, 2022

Willing to gather SIM serial information (aka ICCID) through SDK. The current method TelephonyManager#getSimSerialNumber does not seem to work on API level 29. However, I have seen other Apps working fine on Android 10. Any hint of how this can be alternatively achieved? Thanks

One Answer

Have you requested the READ_PRIVILEGED_PHONE_STATE permission? It's required in API level 29 and onward as per the Privacy changes that came with that release.

Privacy changes Android 10

Answered by karllindmark on January 3, 2022

Add your own answers!

Related Questions

modal pop up after clicking button

1  Asked on August 19, 2020 by ashmoe


How to import react libraries into pure jsx file

0  Asked on August 17, 2020 by dannycranfield


Style changing with JS not responding

0  Asked on August 14, 2020 by alessandro


Can’t use saved information to load into an array

1  Asked on August 13, 2020 by danny


How to return pointer adress for structure variable

2  Asked on August 9, 2020 by mystheman


Merging two PDF generating views in Django

1  Asked on August 8, 2020 by piethon


How do you put a list inside of an object C#?

1  Asked on August 8, 2020 by forrest


How to modify this C++ class to be as efficient as C code?

1  Asked on August 7, 2020 by victor-canoz


Ask a Question

Get help from others!

© 2023 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP