1.0.0 • Published 7 years ago
react-native-ipify v1.0.0
react-native-ipify
Get public IP address in React Native
Using the ipify
API
Install
$ npm install --save react-native-ipify
Usage
import ipify from 'react-native-ipify';
ipify().then(ip => {
console.log(ip);
//=> '47.122.71.234'
});
API
ipify()
Returns a Promise
for the IP address.
License
MIT © Alex Hinson
1.0.0
7 years ago