Skip to content

guoliang1206/react-native-LGReachabilityIOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Tools for check the network state on iOS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published