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

Failed to connect #391

Open
appbucket0408 opened this issue Jun 4, 2024 · 1 comment
Open

Failed to connect #391

appbucket0408 opened this issue Jun 4, 2024 · 1 comment

Comments

@appbucket0408
Copy link

this is my code: Future connectToWifi(String ssid) async {
try {
var details = await WiFiForIoTPlugin.connect(ssid,
security: NetworkSecurity.NONE, joinOnce: true);
print('details are $details');
if (details) {
print('connected sucessfuly');
} else {
print('failed to connect');
}
} catch (e) {
print('fialed to connect $e');
}
}these are messages in debug console:D/ConnectivityManager(11147): NetworkCallback was already unregistered
I/flutter (11147): details are false
I/flutter (11147): failed to connect

@spartakos87
Copy link

Same problem here

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

2 participants