Skip to content

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

react-native-check-network

Check network accessability

Installation

"react-native-check-network":"sergeymild/react-native-check-network#1.0.0"

Usage

import {checkNetwork} from 'react-native-check-network'

// ...

let isNetworkAvailable = await checkNetwork.startListen((s) => {
    // update availability in realtime
    isNetworkAvailable = s.isReachable
})

// later in code
await checkNetwork.stopListen()

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages