react-native-offline-screen

0.0.6 • Public • Published

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.

Package Sidebar

Install

npm i react-native-offline-screen

Weekly Downloads

1

Version

0.0.6

License

ISC

Unpacked Size

31.3 kB

Total Files

4

Last publish

Collaborators

  • dhruv_dave