flutternetwork / WiFiFlutter

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

[wifi_iot] NetworkCallback was already unregistered #284

Open sitakanta136 opened 2 years ago

sitakanta136 commented 2 years ago

ConnectivityManager(16225): NetworkCallback was already unregistered. How to resolve this issue ?

daadu commented 2 years ago

Can you explain in detail, when do you get such logs? What code is triggering it? etc?

sitakanta136 commented 2 years ago

Hi Daadu, Intentionally I connected with the wrong password => Wifi not connected

 await WiFiForIoTPlugin.connect(resultssid,
          password: wifiPassword,
          joinOnce: false,
          security: NetworkSecurity.WPA);

then I connected with correct password => showing ConnectivityManager(16225): NetworkCallback was already unregistered. Wi-Fi not connected.

daadu commented 2 years ago

I will look into it, when free.

Meanwhile, if you want feel free to debug and get to the problem.

GivDavidL commented 1 year ago

Any updates on this?

Sameer330 commented 9 months ago

@daadu I am facing the same issue.

Currently using wifi_iot: 0.3.19

Is it fixed yet?

@sitakanta136 @GivDavidL How did you solve this? Did you find any workaround?