WifiWizard2 icon indicating copy to clipboard operation
WifiWizard2 copied to clipboard

Connect using SSID with prefix if on iOS >= 13

Open saoron opened this issue 5 years ago • 6 comments

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

saoron avatar Dec 10 '19 14:12 saoron

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?

digaus avatar Dec 21 '19 22:12 digaus

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.

digaus avatar Dec 23 '19 01:12 digaus

@saoran

You also need to modify (void)iOSConnectOpenNetwork:(CDVInvokedUrlCommand*)command

digaus avatar Dec 24 '19 07:12 digaus

@saoron I agree with @digaus - Let us know once fixed up

arsenal942 avatar Jan 09 '20 22:01 arsenal942

@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 avatar Jan 10 '20 00:01 digaus

@digaus would you mind submitting a PR with the fixes?

tripflex avatar Oct 16 '20 20:10 tripflex