wifi connect to non existing network returns true
Opened this issue · 1 comments
vanlooverenkoen commented
I connect to this network:
It does not exist in my area. But I still get true
when using WifiConnector.connectToWifi
if (!isWifiEnabled) {
isWifiEnabled = true
}
// 위에서 생성한 configration을 추가하고 해당 네트워크와 연결한다.
var networkId = addNetwork(wifiConfiguration)
if (networkId == null) {
result.success(false)
return;
}
disconnect()
enableNetwork(networkId, true)
reconnect()
result.success(true)
at the end success(true) is always send
vanlooverenkoen commented