flutternetwork / WiFiFlutter

Flutter plugin suite for various WiFi services.
https://wifi.flutternetwork.dev
289 stars 182 forks source link

Failed to connect #391

Open websachinbansal opened 5 months ago

websachinbansal commented 5 months ago

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 commented 5 months ago

Same problem here