bitwarden / android

Bitwarden mobile app for Android.
https://bitwarden.com
GNU General Public License v3.0
6.5k stars 815 forks source link

Mobile app unable to scan some QR codes #4184

Open munrobasher opened 1 week ago

munrobasher commented 1 week ago

Bitwarden Beta

Steps To Reproduce

Attempt to add TOTP via mobile app by scanning QR code. Point camera at QR code.

Expected Result

QR code recognised and added to Bitwarden vault.

Actual Result

Some QR codes are not recognised no matter where you hold the camera. Some QR codes do scan but not instantly. Have to resort to entering text authentication code.

Screenshots or Videos

No response

Additional Context

See https://community.bitwarden.com/t/unable-to-scan-qr-code thread on the forums. Occurs with other makes and models of mobile. In all case, native scanner app, Google Lens etc. can scan the QR code fine.

Build Version

2024.10.0 (11270)

Environment Details

Xiaomi Redmi Note 12 Pro 5G

Issue Tracking Info

bitwarden-bot commented 1 week ago

Thank you for your report! We've added this to our internal board for review. ID: PM-14225

jtodddd commented 1 week ago

Hi there,

I am unable to reproduce this issue, it has been escalated for further investigation. If you have more information that can help us, please add it below.

Thanks!

munrobasher commented 1 week ago

I think it depends very much on the make of mobile phone. The forum thread has reports from other users with the same problem: Google Pixel 7, Samsung Galaxy S22, Samsung A70, Samsung S22 Ultra. Also, just come across this issue but that was closed too: https://github.com/bitwarden/clients/issues/8676

I suspect it's phone specific and you're not able to find/test with faulty device?

differsthecat commented 1 week ago

Hi @munrobasher, we looked into this further, and it appears to be an issue with our previous MAUI version of the app, but it is no longer on the new native app. We tested with a Samsung Galaxy S22 and a Google Pixel 6 (pretty close to a 7). The build number you provided also points to this, as this was the last MAUI build we released.

Would you be able to test with the new 2024.10.1 version to confirm?

I will leave this open for now until you can confirm.