aboozaid / react-native-tethering

A React Native module for working with Wi-Fi and Hotspot. Compatible with Expo.
https://react-native-tethering.onrender.com/
MIT License
17 stars 2 forks source link

connectToNetwork - Connection timeout #19

Closed matze10000 closed 1 year ago

matze10000 commented 1 year ago

The connectToNetwork method returns after the first successful connection, after restarting the app only 'Connection timeout'. Timeout parameter is set to 1000.

aboozaid commented 1 year ago

What do you mean by restarting the app? why you want to call connectToNetwork if you are already connected to the network?

matze10000 commented 1 year ago

After closing the app, the connected wifi is disconnected and when restarting the app, there was no reconnection to the wifi, but the 'Connection timeout' error message. But I had now also noticed that already at the first connection the connection is broken after a few seconds. I think I need to do more tests with more different Wifi's to be able to better assess. Sorry for the effort, I would close the issue for now.