-
Notifications
You must be signed in to change notification settings - Fork 124
Description
At the moment, if you try to scan a QR code without camera permissions the app tells you it needs camera permissions and gives you a link to the settings on Android. This is not the proper way to prompt the user for camera access on modern versions of Android because it doesn't allow the user to provide fine grained control like "just this time" instead of "always".
You can get more information about the correct way to prompt for camera access at https://developer.android.com/training/permissions/requesting, which will result in the user receiving an OS prompt where the user can provide fine-grained permissions, rather than needing to grant permanent permissions. It is also a better user experience to give the OS prompt directly instead of sending them to the settings screen.