react-native-isrooted

2.0.0 • Public • Published

react-native-isrooted

Getting started

$ npm install react-native-isrooted --save

AutoLinking

Android
For React Native version >= 0.60.0 will be autolinked

iOS
you need to run, cd ios/ && pod install && cd ..

Manual Linking

For React Native version < 0.60.0
$ react-native link react-native-isrooted

Usage

import DeviceStatus from 'react-native-isrooted';

async componentDidMount(){
   console.log(await DeviceStatus.isRooted());
}

or

componentDidMount(){
   const isRooted = DeviceStatus.isRooted(status => status));
}

Contribution

Thank you all who helped to compile this amazing library.

  • Yang @beast
  • Erandi Hasithanjali @era21

Readme

Keywords

Package Sidebar

Install

npm i react-native-isrooted

Weekly Downloads

1

Version

2.0.0

License

MIT

Unpacked Size

30.6 kB

Total Files

15

Last publish

Collaborators

  • samitha9125