Skip to content

TOTP QR code scanner causes crash #975

@luc-bw

Description

@luc-bw

Describe the Bug

If you attempt to use the QR code scanner for TOTP, and Bitwarden is not already given Camera permissions, the system will ask you to allow the application access to the camera. This action causes the system and application to bind up and become unresponsive.

Steps To Reproduce

  1. If enabled, go to the system settings and revoke Bitwarden's camera permission.
  2. Open Bitwarden
  3. Edit any Login type item
  4. Select the camera icon in the Authenticator Key (TOTP) field
  5. Grant Bitwarden camera access.

Expected Result

The camera is enabled and you can scan your QR code.

Actual Result

The camera viewfinder is stuck as a white screen. The application and system become unresponsive to input. The application crashes.

Environment

  • Device: Pixel 2XL
  • Operating system: Android 10 (QQ2A.200501.001.B3)
  • Build Version: 2.4.3 (2523)
  • Is this a Beta release? Y

Additional Context

Once the application restarts with the camera permission enabled, scanning a QR code is successful.

Metadata

Metadata

Assignees

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