0.0.6 • Published 3 years ago

react-native-offline-screen v0.0.6

Weekly downloads
249
License
ISC
Repository
github
Last release
3 years ago

react-native-offline-screen

react-native-offline-screen is a React-Natvie base library for dealing with Offline status of ios/Android Devices.

NOTE

This package in on beta version,And still in Development Mode.

ScreenShoots

Installation

Use the package manager npm or yarn to install this Package.

This library uses @react-native-community/netinfo behind the scenes, which contains native code, so you need to install it.

install the library using either npm:

npm install react-native-offline-screen
npm install --save @react-native-community/netinfo

cd ios
pod install

or yarn:

yarn add react-native-offline-screen
yarn add @react-native-community/netinfo

cd ios
pod install

Usage

import OfflineScreen from 'react-native-offline-screen'; 
 render() {
    return (
      rest of the code...
         <OfflineScreen />
      rest of the code...
           )
    }

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.