Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scan doesn't work on iOS #1

Open
houabdu opened this issue Oct 4, 2021 · 1 comment
Open

Scan doesn't work on iOS #1

houabdu opened this issue Oct 4, 2021 · 1 comment

Comments

@houabdu
Copy link

houabdu commented Oct 4, 2021

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
Copy link
Member

Maximvdw commented Oct 4, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants