react-native-network-info
react-native-network-info copied to clipboard
getIPAddress return blank
NetworkInfo.getIPAddress() return blank in iOS simulator.
NetworkInfo.getIPAddress().then(ipAddress => { console.log(ipAddress); });
use getIPV4Address instead it will work