Open Bersh opened 4 years ago
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
connectivityManager.requestNetwork
WiFiManager.addNetwork
Hello @Bersh.
What should I do to be able to connect to wifi using SDK >= 26? Do you have any code for this?
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 networkWiFiManager.addNetwork
will always fail and return -1