requestReadContactsPermission
Requests the READ_CONTACTS
permission from the user. If the permission is already granted, the onGranted
callback is invoked. Otherwise, a request for the permission is initiated. Note: Ensure to add the following permission in the app's manifest file:
Parameters
onGranted
A callback function executed when the READ_CONTACTS
permission is granted.
onDenied
A callback function executed when the READ_CONTACTS
permission is denied.