We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
it would be nice to include an "enable wifi" function, or at least an "is wifi enabled" function...
However, when executing connectToProtectedSSID with wifi disabled, I get the following exception:
"Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference"
connectTo RNWifiModule.java:261 connectToProtectedSSID RNWifiModule.java:186
The text was updated successfully, but these errors were encountered:
#1 possibly related
Sorry, something went wrong.
gotta love undocumented features:
try { WifiManager.isEnabled(function(enabled) { console.log("WiFi", "isEnabled", enabled); }); } catch (e) { console.log("WiFi", "can't isEnabled", e); }
This is not available for IOS however.
No branches or pull requests
it would be nice to include an "enable wifi" function, or at least an "is wifi enabled" function...
However, when executing connectToProtectedSSID with wifi disabled, I get the following exception:
"Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference"
connectTo RNWifiModule.java:261
connectToProtectedSSID RNWifiModule.java:186
The text was updated successfully, but these errors were encountered: