Closed fartem closed 4 years ago
me too I do the same :/
And wifiManager.disconnect();
not working on Android Q.
I use a trick in my app. When you need to disconnect just reconnect with wrong password.
Future versions will include a disconnect feature. For now use the workaround mentioned by @CloseFile above or the standard wifiManager.disconnect()
@ThanosFisherman thanks!
How can I disconnect from a connected network without disabling Wi-Fi?
Right now I'm disconnecting with default SDK methods: