1.0.0 • Published 7 years ago

react-native-lg-reachability-ios v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

react-native-LGReachabilityIOS

Tools for check the network state on iOS

Check the status of network (iOS)

Usage

Download the ios files, add dray the LGReachability.xcodeproj to your Libraries, Open Build Phases in your project, Link Binary With Libraries add libLGReachability.a

import {NativeModules} from 'react-native' const ReachabilityIOS = NativeModules.LGReachabilityIOS;

 ReachabilityIOS.checkStatusForAddress('www.yourwebsite.com',(error,result)=>{
            callback(result);
        })

Lisence

MIT