Lucas Lannes
Lucas Lannes
Hello, @daadu, first thanks for the great plugin. I think that you forgot to add the forceWifiUsage documentation in the dart-side like is described on java-side. https://github.com/flutternetwork/WiFiFlutter/blob/ca0c28525007f5bcdb708814d9fd8c7449cf6369/packages/wifi_iot/android/src/main/java/com/alternadom/wifiiot/WifiIotPlugin.java#L714-L721 Maybe this can...
Calling `forceWifiUsage(true)` after a success connection (using `withInternet: false`) solved my problem to connect to the IoT socket server. Without enabling the `forceWifiUsage` on Android 10+ the app cannot connect...
Folks, i made a pull request to allow catching this error. Check this out #92 :)