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!
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.