Open hardfalcon opened 3 years ago
Thanks a lot for reporting this! 👍
The reason is that WifiNetworkSuggestion.Builder.setWapiPassphrase() is throwing an IllegalArgumentException
with the message "passphrase not ASCII encodable".
I just added a try/catch block around setWapiPassphrase()
to safely catch these exceptions, but I'm afraid Android doesn't accept passphrases that aren't ASCII encodeable (see here).
You're welcome, thanks for this great app! :)
The fact that the Android API for adding WPA PSKs seems to only accept ASCII strings is strange because the "native" QR code scanner that is built into the wifi setup dialog of Android 10 (/e/ on a Fairphone 3 in my case) accepts the very same QR code without any issues, and when clicking the "Share" button on the added connection, it actually shows the complete password with the emoji:
Hm, very strange, indeed 🤔
I will look into it...
Hi, I get reproducible crashes with BinaryEye 1.45.0 when trying to scan the following QR code: