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

need to able location in order to use wifi #78

Open
Martlohmus12 opened this issue Apr 10, 2019 · 3 comments
Open

need to able location in order to use wifi #78

Martlohmus12 opened this issue Apr 10, 2019 · 3 comments

Comments

@Martlohmus12
Copy link

I don't understand why I have to enable location manually or programatically in order to use the wifi functionality.

"react-native": "^0.59.0",
Gradlew 3
targetSdkVersion 27
compileSdkVersion 28

@bondparkerbond
Copy link
Contributor

This is an Android Platform requirement as knowing what WiFi you are connected to and especially knowing what WiFi networks are available in the area can be used to determine your geographic location to a pretty high degree of precision. As such, getting WiFi info requires either the COARSE or FINE location permission.

@yusuf987
Copy link

I am also not able to understand this,
it doesn't make any sense to me why would I share my location just for accessing wifi

i have to make my users understand this why i am asking their location
can somebody please give some valid reason

@bondparkerbond
Copy link
Contributor

If I know what Wifi networks are near you, I can determine where you are. That is the reason location permissions are needed. This is a Google/Android thing, and you either need to request the permission or have users manually connect to wifi for you.

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

3 participants