Nature's Particle Manager

    react-native-ipify

    1.0.0 • Public • Published

    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

    Install

    npm i react-native-ipify

    DownloadsWeekly Downloads

    68

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • amhinson