bitwarden / mobile

Retired Bitwarden mobile app for iOS and Android (MAUI/Xamarin).
https://bitwarden.com
GNU General Public License v3.0
41 stars 5 forks source link

QR Scanning not working on iOS #2148

Open vV1x59WT2dd1Y3IURMYggH5IRcJiBlMCXKfJqoo opened 1 year ago

vV1x59WT2dd1Y3IURMYggH5IRcJiBlMCXKfJqoo commented 1 year ago

Steps To Reproduce

try to scan a TOTP QR code

Expected Result

generate TOTP

Actual Result

nothing happens, the camera keeps showing the QR, it is slightly out of focus, the QR code is not recognized, there is no option to change camera settings. The default iPhone camera reads the same QR without any problem.

Screenshots or Videos

No response

Additional Context

just installed bitwarden on a brand new iPhone 14 Plus

Operating System

iOS

Operating System Version

16.0.3

Device

iPhone 14 Plus2

Build Version

2022.10.0 (2347)

Beta

Agnf6NdttbddBW5RKo9hkEUTkYoYUzuZ8h4b2RD commented 1 year ago

Hi @u56237z can you try again to confirm if issue still exist? We've been unable to reproduce this so wanted to seek confirmation from your side as well.

eyyCxL1OZosRFbVRaCTEhswL2XgCIqIbgCqvz9m commented 1 year ago

I can confirm that I am also having this problem on an iPhone 14 pro max with the same version of bitwarden.

The specific QR code I had problems with was github

RepmcJaPh1EFgs9Q3DpDqKHmcosNJRFGzcI65sh commented 8 months ago

I am likewise experiencing this issue. The camera opens, but never properly focuses and as such cannot identify the QR code. iPhone 15 Pro running Bitwarden 2023.10.0 (5357).

joFC7n6RwG7wnnk338iPv03HH6ZbLojtaZk8cks commented 7 months ago

Same issue here, iPhone 14 Pro Max. Weirdly it does not switch to the close-up wide angle lens, which is why I'm guessing it won't scan. A lot of apps had the same issue when the 14 Pro series first came out, until they got updated to support automatic lens switching. At this point, the app won't scan any small QR codes which sucks.

DG08gJox2Jms7ODyhqmC710fiM9w4DOngtDzsWm commented 6 months ago

This still reproduces for me iPhone 15 Pro

XZdS2CeLzYPUYI1o9uwGWl2U4SZChD4cGBMJGCw commented 4 months ago

Is this issue only occurring when the QR code is on a dark background? (this happens to me; I have to use the JS console in my browser to change background colors to white (#fff)

vV1x59WT2dd1Y3IURMYggH5IRcJiBlMCXKfJqoo commented 4 months ago

idk if it applies to every QR on a dark background, but I can confirm it still doesnt work when trying to read Paperspace QR to enable its 2FA


From: Ben Vinnerd @.> Sent: Saturday, March 16, 2024 8:52 AM To: bitwarden/mobile @.> Cc: u56237z @.>; Mention @.> Subject: Re: [bitwarden/mobile] QR Scanning not working on iOS (Issue #2148)

Is this issue only occurring when the QR code is on a dark background? (this happens to me; I have to use the JS console in my browser to change background colors to white (#fff)

— Reply to this email directly, view it on GitHubhttps://github.com/bitwarden/mobile/issues/2148#issuecomment-2001916647, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AATWGLHLB2SSVUWM3XBVPBDYYQB5HAVCNFSM6AAAAAARMLZ532VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBRHEYTMNRUG4. You are receiving this because you were mentioned.Message ID: @.***>

VOOWfrKXsuvQCAek5vDj7JtbtvAuORkoIYZGK1R commented 3 months ago

I was also seeing issues with this on a 14 Pro Max with the latest Bitwarden version. I seem to have gotten it to work by expanding the blank area around the QR code with a white background and then slowly moving the phone backwards and forwards (and sometimes tilting it up and down slightly). With a little bit of patience the blue rectangle usually turns green and the code is scanned successfully.

It's a pain though and definitely less than ideal.

5K1ZgIFVEAZOmI4JGUT2TK2EZrYNJex1a2z8LXb commented 1 month ago

I am also having this issue on and iPhone 14 Pro. I have recently switched from Raivo Authenticator to Ente Authenticator and as I am updating some seeds in Ente I wanted to add them to Bitwarden. I have two iOS devices, and iPhone 14 Pro and and iPad pro 12" - No matter which device I tried using to display the QR code from Ente and which I tried scanning to code to Bitwarden - none of them worked. The built in iOS password feature reads the QR codes fine as does the new Bitwarden Authentication app. However the "proper" bitwarden app cannot scan the code. It just keeps trying to scan no matter what.

seamonkey420 commented 1 week ago

same issue here on iOS 17.5 and iPhone 11 Pro.