WiFiFlutter icon indicating copy to clipboard operation
WiFiFlutter copied to clipboard

When using forceWifiUsage after connect, I can no longer check whether the wifi is enabled

Open ElegantCrab opened this issue 2 years ago • 1 comments

Does somebody know why this happens? Whenever I connect to a wifi and execute forceWifiUsage, the package connectivity_plus no longer recognizes that I'm in a wifi network

ElegantCrab avatar Oct 26 '22 18:10 ElegantCrab

forceWifiUsage does not work properly, it malfunctions totally. It does not change anything and all requests to TCP sockets fail. The problem you face may stem from the following.

After using execute forceWifiUsage app loses all internet connection forever. And executing forceWifiUsage(false) does not change anything. Only way to recover is, to kill the app open again or stop the process in the terminal and use 'flutter run" again.

elmar001 avatar Nov 15 '22 06:11 elmar001