Closed wellmonge closed 5 years ago
At line 283 theres a peace of code, I'm getting this error when I trying to connect to WIFI- WPA/WPA2 PSK:
283 - boolean enableNetwork = wifi.enableNetwork(updateNetwork, true); 284 - if ( !enableNetwork ) { 285 - return false; 286 - };
283 - boolean enableNetwork = wifi.enableNetwork(updateNetwork, true);
284 - if ( !enableNetwork ) {
285 - return false;
286 - };
ENVIROMENT: RN: 0.54.0 react-native-wifi: 1.0.1 node: 8.9.1 npm: 5.6.0
Digging on Android developers documentation I found this...
works for me on android (if wifi is enabled first), however crashes every time on iOS. the network is connected to, however my app crashes.
At line 283 theres a peace of code, I'm getting this error when I trying to connect to WIFI- WPA/WPA2 PSK:
283 - boolean enableNetwork = wifi.enableNetwork(updateNetwork, true);
284 - if ( !enableNetwork ) {
285 - return false;
286 - };
ENVIROMENT: RN: 0.54.0 react-native-wifi: 1.0.1 node: 8.9.1 npm: 5.6.0
Digging on Android developers documentation I found this...