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

I cannot get the SSID of current connected Wifi on ios 14.3 and 14.6. It is returning null value. #161

Closed
starsoft4u opened this issue Jul 27, 2021 · 2 comments · Fixed by #175

Comments

@starsoft4u
Copy link

No description provided.

@starsoft4u starsoft4u changed the title I cannot get the SSID of current connected Wifi on ios 14.3 and 14.6. I cannot get the SSID of current connected Wifi on ios 14.3 and 14.6. It is returning null value. Jul 27, 2021
@DominikStarke
Copy link
Contributor

DominikStarke commented Sep 18, 2021

Same issue:
#105

Seems like NEHotspotNetwork.fetchCurrent either doesn't work as expected, or has weird constraints that aren't documented by apple.

fetchCurrent's completionHandler is escaping. As a result getSSID will always return nil on iOS 14+.

I have filed a pull request.

@daadu
Copy link
Member

daadu commented Sep 19, 2021

This has landed on pub.dev with v0.3.7

@starsoft4u Thanks for reporting this, check yourself on README!

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

Successfully merging a pull request may close this issue.

3 participants