PermissionsAndroid
Learn how to ask for permission from the user to access sensitive data using the PermissionsAndroid API.
We'll cover the following...
React Native offers the PermissionsAndroid
API in Android applications to protect users’ privacy. This API can be used to ask users for permission before accessing sensitive data such as location, contacts, messages, etc. It can also be used to ask permission to access specific system functionalities such as the camera and voice recorder.
Types of permissions
Android permissions can be divided into the following two categories:
- Normal permissions: Normal permissions are those that the application does not need to ask for from the user. Android always allows normal
Access this course and 1400+ top-rated courses and projects.