devstepbcn / react-native-android-wifi

A react-native module for viewing and connecting to Wifi networks on Android devices.
ISC License
212 stars 121 forks source link

Appears to be broken on Android 8.1 #57

Open hhff opened 6 years ago

hhff commented 6 years ago

Hi There!

Thanks for all of your hard work - I really appreciate it! I did my best to create an exact bug report! Hope this helps!

1. I've just booted the ExampleAPI25 app on an Android Emulator running Android 8.1.

I'm seeing some strange behavior:

Weird behavior 1:

Weird behavior 2:

2. However, running ExampleAPI25 app on on Android 7.1.1:

Expected behavior 1:

Expected behavior 2:

I hope this helps! Please let me know how I can help further debug.

hhff commented 6 years ago

FWIW - it appears this issue would mean that anyone using this Library & shipping their app to Android 8.1 devices are broken, I think?

bondparkerbond commented 5 years ago

@hhff You can't use the emulator to connect to wifi networks with your computer. Try this on a physical device and it should work.

inf3rnus commented 5 years ago

I've been experiencing this strange issue on Android 9 devices where when calling the getSSID() function, the value is returned as . However, if I call it a second time in a completely separate render cycle, it returns the SSID. Same thing happens with the wifi list function, except it return [] and the list respectively. Any idea what could be going on?