WifiWizard2
WifiWizard2 copied to clipboard
Connect using SSID with prefix if on iOS >= 13
Description of the Change
iOS 13 introduced a new way to connect with an SSID prefix, this will automatically use the prefix method if on iOS 13
This looks nice !!
This functionality would allow me to just pass the prefix of smartphone devices (which are the same) to the connect function and it will try to connect to a network with that prefix?
What happens if there are multiple networks with this prefix?
Your PR won't work. It will always return an error because the prefix SSID is not the SSID which you are connected to.
https://github.com/digaus/WifiWizard2/commit/b84507a05e648ce20c4df1038ee43aecdd3c71e6
Tested with my iot devices. Working as expected.
@saoran
You also need to modify (void)iOSConnectOpenNetwork:(CDVInvokedUrlCommand*)command
@saoron I agree with @digaus - Let us know once fixed up
@arsenal942
Might als be better to use a second plugin call for it but migrate the connect without password into the connect call.
-> connect and connectPrefix
@digaus would you mind submitting a PR with the fixes?