You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to use reScanAndLoadWifiList on Android 8.0.0 .
React-Native version is 0.57.5 and the phone is Samsung Galaxy S7 edge.
I was hoping reScanAndLoadWifiList was going to refresh the list every time I called, but so far it behaves exactly like wifi.loadWifiList - it loads the wifilist once and then returns exactly the same list every time it is called again.
I am using your sample code with output via ToastAndroid on refresh of the screen.
Hi, I am trying to use reScanAndLoadWifiList on Android 8.0.0 .
React-Native version is 0.57.5 and the phone is Samsung Galaxy S7 edge.
I was hoping reScanAndLoadWifiList was going to refresh the list every time I called, but so far it behaves exactly like wifi.loadWifiList - it loads the wifilist once and then returns exactly the same list every time it is called again.
I am using your sample code with output via ToastAndroid on refresh of the screen.
wifi.reScanAndLoadWifiList((wifiStringList) => {
ToastAndroid.show(wifiStringList,ToastAndroid.SHORT);
var wifiArray = JSON.parse(wifiStringList);
console.log('Detected wifi networks - ',wifiArray);
},(error)=>{
console.log(error);
});
Regards
The text was updated successfully, but these errors were encountered: