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

Support For IOS 13 #112

Open
Adi2612 opened this issue Jan 6, 2020 · 2 comments
Open

Support For IOS 13 #112

Adi2612 opened this issue Jan 6, 2020 · 2 comments

Comments

@Adi2612
Copy link

Adi2612 commented Jan 6, 2020

I am trying to get BSSID on IOS 13 but its returning undefined instead. As there is a change in APIs after IOS 13 release.
So, Is present react-native-network-info supports IOS 13 ?
What other permission do I need to support this ?

@manoj-makkuboy
Copy link

This library uses CNCopyCurrentNetworkInfo API. So in IOS 13, you have to explicitly ask for Location permissions. After the user grants the location permission the getBSSID resolves to the required value.

@Adi2612
Copy link
Author

Adi2612 commented Jan 16, 2020

thanks @manoj-makkuboy , I tried this too but not working. :(

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