bndw / wifi-card

📶 Print a QR code for connecting to your WiFi (wificard.io)
https://wificard.io
MIT License
6.62k stars 466 forks source link

Issue With Device Compatibility? #199

Closed ManZosh closed 3 years ago

ManZosh commented 3 years ago

Howdy, I've tried to create one of these and print them out on sheets of stickers, however the QR scan doesn't appear to work on Android devices! Yet, iPhone devices can scan these and connect right up without any hindrance.

My settings on https://wificard.io/ were simply inputting my SSID, password, WPA2 security, and selecting that this would indeed be a hidden network.

I attempted QR scans with the camera apps on both an original Pixel (2016) sporting Android 9 (PQ3A.190801.002) as well as Pixel 4a sporting Android 11 (RQ2A.210505.002). Both devices do immediately recognize that this QR code is a wifi network to join, and upon clicking on the option to connect, I'm brought to the Wi-Fi settings/available networks screen where the loading lines just scroll across the top bar for about 2 seconds and then nothing happens! Repeated attempts yield same result, devices never find/connect to the network.

A friend and also my sister, who both have iPhones, can scan this, press the join link, and boom, immediately finds/connects to the network. What gives!? This is the worst because iPhone normies love to talk smack on Android users an this just adds insult to injury! (not that serious just joking)

Attached is my same card used throughout all this. Printed my card from the web app linked above on Aug 19 @ 4 PM EST.

Do Android devices have a different specification or protocol for interpreting QR codes or something? WiFi Card - The Wolf of Emerald Street.pdf

olekstomek commented 3 years ago

I implemented this functionality in https://github.com/bndw/wifi-card/pull/101 (in this PR you have links to other resources - check them for more details). The connection for Android and iOS is no different - it is standardized and the same code is understood by these systems. Could you please check if the problem occurs on non-Pixel Android devices?

bndw commented 3 years ago

Hi @ManZosh ! Sorry to hear your device isn't recognizing the WiFiCard QR codes. I'm afraid this is most likely related to your particular Android OS's handling of QR codes - the spec for joining WiFi through QR Codes is pretty sparsely documented (part of the reason I was tinkering with this in the first place).

Thanks for including your hardware/OS versions. I'll look into compiling a list of known working devices/OSs and maybe we can determine where things are breaking down.

olekstomek commented 3 years ago

@ManZosh does the problem also occur if you connect to a network not hidden by a QR Code?