Scan doesn't work on iOS
Opened this issue · 1 comments
houabdu commented
Since Apple doesnt support an API for scanning for Networks nearby, this implementation doesnt work as well, cause react-native-wifi-reborn declares the scanning features only for Android.
Maximvdw commented
You are indeed correct that loadWifiList
(and reScan) are Android only. Currently there does not seem
to be any plans from Apple to offer such an API (https://developer.apple.com/forums/thread/39204). While there might be alternatives that can be used (NEHotspotHelper) they will most likely not be accepted in the App store for this use case. This is the reason why companies such as IndoorAtlas focus on geomagnetic positioning on iOS.
We will definitely update the documentation and add additional checks for iOS devices.