Reading phone number
To read the phone in Android 11, you must request the READ_PHONE_NUMBERS
permission, instead of the READ_PHONE_STATE
permission.
The following manifest declaration snippet demonstrates this process:
|
To read the phone in Android 11, you must request the READ_PHONE_NUMBERS
permission, instead of the READ_PHONE_STATE
permission.
The following manifest declaration snippet demonstrates this process:
|