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

Parameter specified as non-null is null :method kotlin.jvm.internal.inherites.checkNotNull permitter error #22

Closed PrudhviBanki closed 10 months ago

PrudhviBanki commented 11 months ago

console.log('wifiSSID:', this.state.wifiSSID); console.log('password:', this.state.password); WifiTethering.connectToNetwork(this.state.wifiSSID, this.state.password, true, 6000) .then(() => { console.log("Connected successfully!"); }) .catch(error => { console.error("Error connecting to network:", error); });

this will work? facing issue

aboozaid commented 11 months ago

Which android version do you use? Device type?

Is it always fail to connect? Are you sure you allow all permissions needed?