WiFiFlutter icon indicating copy to clipboard operation
WiFiFlutter copied to clipboard

[wifi_iot] NetworkCallback was already unregistered

Open sitakanta136 opened this issue 3 years ago • 5 comments

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

sitakanta136 avatar May 16 '22 13:05 sitakanta136

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

daadu avatar May 16 '22 13:05 daadu

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.

sitakanta136 avatar May 16 '22 13:05 sitakanta136

I will look into it, when free.

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

daadu avatar May 16 '22 14:05 daadu

Any updates on this?

GivDavidL avatar Apr 17 '23 15:04 GivDavidL

@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?

Sameer330 avatar Feb 06 '24 06:02 Sameer330