react-native-wifi-checker
Get a list of available Wifi connections
... but only for Android right now
Installation
npm install react-native-wifi-checker
Android
Add the following lines to android/settings.gradle
include ':react-native-wifi-checker'
project(':react-native-wifi-checker').projectDir = new File(settingsDir, '../node_modules/react-native-wifi-checker/android')
Add also in your dependencies in android/app/build.gradle
compile project(':react-native-wifi-checker')
Don't forget to register the module in MainActivity.java
// <--- import
iOS
So I have to check ObjectiveC right?
Usage
var wifi = ; // get the current wifi listwifi ; // I also implented a scanwifi ;