1.0.5 • Published 4 years ago

react-native-version-control v1.0.5

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

Installation

Step 1

Using npm:

npm install --save react-native-device-info

or using yarn:

yarn add react-native-device-info

Linking (for React Native <= 0.59 only, React Native >= 0.60 skip this as auto-linking should work)

Automatic

react-native link react-native-device-info

(or using rnpm for versions of React Native < 0.27)

rnpm link react-native-device-info

For iOS users using Pods You still need to run pod install after running the above link command inside your IOS folder.

Help for install react-native-device-info.

Step 2

npm install react-native-update-control

Usage

import VersionControl from 'react-native-update-control';

    VersionControl({
    title:"App Update Title", 
    description:"App Update Description",
    cancelText:"CANCEL",
    okText:"UPDATE"
    });