flutter-wifi-connect
flutter-wifi-connect copied to clipboard
Doesn't work for android 10+
The current android implementation doesn't work for Android SDK version >= 29. Form SDK 29 you need to you connectivityManager.requestNetwork in order to connect wifi network WiFiManager.addNetwork will always fail and return -1
Hello @Bersh.
What should I do to be able to connect to wifi using SDK >= 26? Do you have any code for this?