I have an app where im using uses-permission
tags in the AndroidManifest.xml to give some permissions to my app, eg CAMERA. But when i check the permissions through my phone’s settings all the given permissions are denied and i have to manually change it to allow. What could be wrong? Thanks!
Question posted in Android Studio
The official documentation can be found here.
The official documentation can be found here.
2
Answers
In higher Android versions the user needs to allow the permissions.
You must to show a dialog asking about the permissions
https://developer.android.com/training/permissions/requesting
Since android 12 granting permissions in manifest isn’t enough imo. Check out:
https://developer.android.com/training/permissions/requesting