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

Unknown SSID on android when using the library #25

Open
thehellmaker opened this issue Apr 28, 2019 · 4 comments
Open

Unknown SSID on android when using the library #25

thehellmaker opened this issue Apr 28, 2019 · 4 comments

Comments

@thehellmaker
Copy link

I use the sample call as follows

WifiManager.getCurrentWifiSSID()
.then((ssid) => {
console.log("Your current connected wifi SSID is " + ssid)
}, () => {
console.log('Cannot get current SSID!')
})

And i get the result on android. I checked that the persmission are all there even though I have asked for them in the app
Your current connected wifi SSID is

@a-c-sreedhar-reddy
Copy link

did you get unknown ssid even when you are connected to any wifi?

@thehellmaker
Copy link
Author

Yes. Even when i was connected to a Wifi i got unknown

@a-c-sreedhar-reddy
Copy link

Why dont you try this https://github.com/tadasr/react-native-iot-wifi

@thehellmaker
Copy link
Author

Why dont you try this https://github.com/tadasr/react-native-iot-wifi

Thanks a lot for the reference. I missed your reply. Will test this new library and get back to 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

2 participants