Skip to content

Prompt user for camera access on Android. #245

@MicahZoltu

Description

@MicahZoltu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions