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

List and get SSID Does Not Work #31

Open
aminjoharinia opened this issue Jan 13, 2020 · 3 comments
Open

List and get SSID Does Not Work #31

aminjoharinia opened this issue Jan 13, 2020 · 3 comments

Comments

@aminjoharinia
Copy link

Hi
I am using ANDROID X
getting list is not working, it always returns []
getting SSID returns unknown SSID, and also level not showing anything
What Should I Do?

@aminjoharinia
Copy link
Author

I Found The Reason
From Android 8.0 onwards we won't be getting SSID of the connected network unless GPS is turned on.

@DhavalRKansara
Copy link

I Found The Reason
From Android 8.0 onwards we won't be getting SSID of the connected network unless GPS is turned on.

Yeah, GPS is a prerequisite for getting wifi information in both Android and iOS.

You have ask for ACCESS_FINE_LOCATION and ACCESS_COARSE_LOCATION permission first as mentioned in Android Developer document only after allowing this permission you'll get the wifi information.

Please close the issues if you find the answer.

@rimedar
Copy link

rimedar commented Feb 1, 2021

Hi, So, the GPS must always be active to use this package? Or I can configure something so that this is not needed? thanks

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