WiFiFlutter
WiFiFlutter copied to clipboard
When using forceWifiUsage after connect, I can no longer check whether the wifi is enabled
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
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.