QR code doesn't work with iOS stock cam
See original GitHub issueHi @kbr , thanks for adding the QR code feature.
I recently tested the functionality and I can’t connect to the wifi with iOS stock cam scanning the qr code. The connection fails. If I use a app like Qrafter I could connect to the network. With Qrafter its possible to read out the qr code. I noticed that there is no encryption setting within the qr code.
So I wrote a script and adding the security parameter "WPA/WPA2"
to make_wifi()
from the segno
library. It works even on a WPA2 + WPA3 network.
from segno.helpers import make_wifi
import io
ssid = "myssid"
pw = "mypw"
encryption="WPA/WPA2"
stream = io.BytesIO()
qr_code = make_wifi(ssid=ssid, password=pw, security=encryption)
qr_code.save("qr.png", kind="png")
Could you please add the encryption setting to make this work with iOS stock cam (and maybe other qr code readers)?
Thanks. sti0
Issue Analytics
- State:
- Created 2 years ago
- Comments:36 (27 by maintainers)
Top Results From Across the Web
Top 3 Ways to Fix QR Code Scanner Not Working On iPhone
Open the Settings app. · : Scroll down and tap on Camera. · Enable the Scan QR Codes option. · Open the Settings...
Read more >Unable to scan QR Code via Camera
After the update from iOS 13 to iOS 14, the functionality to scan bar code via the Camera app stopped working. A border...
Read more >Fixed: QR Code Not Working on iPhone after iOS 16 Update
Step 1: Head to the "Settings" application on your iPhone. · Step 2: Here, scroll down a bit and click on the "Camera"...
Read more >Can't Scan QR Codes with iPhone / iPad Camera? Here's ...
Open the “Settings” app on the iPhone or iPad · Go to “Camera” · Locate “Scan QR Codes” and make sure that is...
Read more >How to fix QR code scanner not working on iPhone?
Make sure the QR code scanner is enabled · Make sure you're in Photo mode · Make sure the camera is pointed correctly...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Keep it simple is ok for me 😃
Checking the qr-code created by the router indeed report for all WPA encryptions plainly WPA as encryption type.
Yes, I also have some additional notes. Basically it is just to match the state of the router with input-values for qr-code creation to get the same output as the qr-code generated from the router. And to write tests, so we know when something changes. But as we are all volunteers, I have to find a timeslot for this.