Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WifiWizard2.iOSConnectNetwork wifi free #30

Closed
Hippoi opened this issue Apr 17, 2018 · 5 comments
Closed

WifiWizard2.iOSConnectNetwork wifi free #30

Hippoi opened this issue Apr 17, 2018 · 5 comments

Comments

@Hippoi
Copy link

Hippoi commented Apr 17, 2018

Is it possible to connect to a wifi without a password? , when I try it in IOS the app stops working

My code

WifiWizard2.iOSConnectNetwork(mired, mipass,
//success
function () {
navigator.notification.alert("Connect to SSID = " + mired + " is ok", alertDismissed(), 'title', 'Ok');
},
//fail
function () {
navigator.notification.alert(ins_error + mired, alertDismissed(), 'title', 'Ok');
}

);
@arsenal942
Copy link
Collaborator

@Hippoi I will provide this functionality soon in https://github.com/arsenal942/Cordova-Network-Manager. ETA ~3-5days.

@tripflex Once I have performed these changes, I will create a PR for you on this commit.

@danielavrella
Copy link

Really need this too. @Hippoi did you get any further?

@arsenal942
Copy link
Collaborator

@danielavrella Sorry for the delay. Would you prefer it to be a new method 'iOSConnectToFreeWifi' or to be an extra parameter in the existing method? My preference is the latter.

@tripflex
Copy link
Owner

@Hippoi I know it is possible with Android, but i don't know about iOS ... i'm actually working on getting an iOS device as i will need it to test my mobile app for an iot project, but as of right now i don't have one to do any dev work with unfortunately

@tripflex
Copy link
Owner

@Hippoi @danielavrella I added this to be released in 3.1.0 tonight, can you please test this out and let me know if it works for you (i don't have iOS device to test)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants