9
Runtime Permissions
As we build our Android apps, there are some functionalities that require permissions to be granted for them to function properly. Due to privacy and data security policies, we as developers can not automatically grant permissions to the apps that we develop. We need to inform the users of the permissions that the apps need and why they need them.
In this chapter, we will understand runtime permissions and how to request them in our app.
In this chapter, we’re going to cover the following main topics:
- Understanding runtime permissions
- Requesting permissions at runtime
Technical requirements
To follow the instructions in this chapter, you will need to have Android Studio Hedgehog or later (https://developer.android.com/studio ...
Get Mastering Kotlin for Android 14 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.