Oddbean new post about | logout
 Question to Android users. I am always having issues with QR codes and most of them don’t work unless they are black and white (white background). Is this a normal thing or something related to the shitty phone I have for testing purposes? 🤔 
 Shitty phone. 
 So it should work on any sort of QR codes? 🤔 
 You can only read what you can read, same with the phone. Probably means it’s nonsense. 
 iPhone works fine, Android sees it fine (shows sharp on the screen), QR does not register as QR unless I make it BW 😭😭😭 
 You can buy fancy android phones too, you may just have to beg borrow or steal for one with a better camera comparable I would think. 
 It is a fine phone, modern but cheap. Very odd and unexpected. I have a top notch iPhone so not likely to invest into Android premium one. 
 Fair! 
 #boost get this man a top notch #android please!!! 🙏 
 Pixel 9 works fine. Galaxy s21 works fine. 
 Damn! Why!!!! The camera is OK on the phone, it just not liking lower contrast maybe? 😭😭😭 
 Perhaps. Not sure. Very odd.  I've never had QR problems on android  
 Same here on GrapheneOS on Pixel 7a🫠 
 Fuck! This is just nonsense 😭😭😭 
 Probably iPhone's camera is way too goddamn wellmade🤤🤤🤤 
 Yes indeed, and all of them work as you would expect 😭😭😭😂 
 I have an ancient Galaxy (9) and never had that issue 
 Which app? 😄 I mainly use BinaryEye and didn't have issues so far 
 WireGuard 
 Humm, ok. Maybe it's just a shitty in-app scanner then? 
 Same app by same app maker works fine on iPhone. Does Android provide native libs for QR or they use some other shared one? 🤔 
 Camera rendering on Android is subjected to software. 

Even with comparable cameras on Instagram, I used to get post processed to fuck making every high quality image look 240p or less. 

Imo it felt like it was engineered this way by the developers, preferring and testing iPhones rather than Android. (But Android has more variety so, ) 

QR should work in the camera app without the need for any additional apps  
 I need to readout WireGuard config so it is not a small QR 🤔 
 Maybe it works reading the QR data with another app and pasting it into WireGuard?
In the end every QR is just a string  
 Btw this was like in 2016. 

I don't use legacy media anymore. 
 Interesting point, never thought about it. In general due to the openness of Android (like being able to use different browser engines) I would guess they don't force a shared lib but tbh I have no clue. not an android dev.. maybe somebody with more actual knowledge can answer this 😄 
 Now I need to check. Recently set up WireGuard at home but only tried my laptop so far. Didn't even know there are Android apps lol. I hate phones 😄 
 There is, it works great on iPhone but I am yet to test it with android since it doesn’t like QR code for some fucked up reasons 😭 
 Nope, maybe older os or poor camera. 

Its most likely older software or something, I've never had problems since 2020 really, prior to that it was touch and go 
 New phone, but cheap. Sharp camera (I can see QR sharply on the screen), so don’t think it’s an issue. Latest OS too, the phone is days old and months old release 😭 
 Odd. Does it run Android 16? 

If so there's even a QR button to enter QR mode 
 Yes, that’s why I am asking if I am doing something wrong 🤔 
 I sometimes have trouble reading QRs from low quality displays, but other than that no problems. 
 4K display (retina) and high quality (MacBook Pro) 😭😭😭 
 Maybe, just MAYBE, your VPN provider also just gave you a shitty config. Saying this because I personally fight with integrating a VPN provider config into my Linux laptop since weeks 😅 
 Nope, the config is good and I am my own VPN provider in this case. Same thing and same app works on iPhone 
 Why would the VPN have anything to do with his phone not being able to successfully scan a QR code? The decoding of a QR code is performed locally on the device scanning it. The network doesn't play a role as all the necessary information is contained within the QR itself. 
 I think it’s the note about config that is parsed not being valid, not the network in itself 
 Is the phone successfully scanning and decoding the QR? Or are you unable to navigate to the link that's been successfully scanned and decoded? I was under the impression that you were unable to successfully scan and decode the QR on this one particular device. If you're able to successfully scan and decode the QR but unable to successfully navigate to the link, that's not a problem with your phone or with scanning the QR. That's an issue of you being unable to contact the specific link contained in the QR for whatever reason.  
 WireGuard imports config via QR, there is no link to follow, it’s a text file 
 Because VPN configs can have various formats. The QR code is not the problem then, rather the VPN app not being able to interpret the config.
Speaking from personal experience here 😅 
 That means there's nothing wrong with scanning and decoding the QR, but with the decoded data contained in the QR, or with the application or process that's interpreting and applying the information contained within the QR. From the OP, I was under the impression that he's unable to successfully scan and decode the QR, which is why I asked the question that I asked.  
 Your impression was correct, the scanner would not indicate it was successful at scanning 
 It's probably an issue with the phone's camera, but it could also be a problem with the app you're using to scan the QR. First, are you able to scan other QRs? Or is the problem just with a particular QR? Second, I would try a different QR scanner. If the problem is with the app you're using, a different app may work properly. Those are the things I'd do to isolate the problem. You really need to determine where, exactly, the problem is before you can devise a solution.  
 maybe try the camera app, vs. inside wireguard to see if that will scan.. then you can triage the 🐛 
 Camera app worked, seems like problem with the app. Though I had issues with other apps and QR in general, where I had to turnoff night mode for the NWC config to work on Amethyst, it would not read white dots on black background 
 ya, must be bugs in the QR libs those apps use then.. workaround it somehow (copy/paste from camera app?) n file up some bugs 🐛🐛🐛😎 
 Very seldom problems with QR codes. Always use the Google pixel camera to scan and action the QR code...