React native Wifi list

Vinay picture Vinay · Feb 1, 2018 · Viewed 10.7k times · Source

Is there a way to scan and all get Wifi list using react native for Android and iOS. I have seen a few libraries but mostly for android and even those doesnt work properly. Any suggestions?

If I need to write Native Modules can you point me to right direction. Never wrote a native module for React Native before.

Answer

Sagar Gala picture Sagar Gala · Jul 24, 2020

https://www.npmjs.com/package/react-native-wifi-reborn Has method loadWifiList() gives Promise<Array>

Also you want to forcefully rescan : method reScanAndLoadWifiList() gives Promise<Array>