react-native-network-info icon indicating copy to clipboard operation
react-native-network-info copied to clipboard

getIPAddress return blank

Open vibdheeraj opened this issue 6 years ago • 1 comments

NetworkInfo.getIPAddress() return blank in iOS simulator.

NetworkInfo.getIPAddress().then(ipAddress => { console.log(ipAddress); });

vibdheeraj avatar Oct 24 '19 06:10 vibdheeraj

use getIPV4Address instead it will work

syedamirali14 avatar Mar 27 '20 10:03 syedamirali14