Skip to content

dnlsilva/react-native-verify-device-root

Repository files navigation

react-native-verify-device-root

Verify device root for React Native.

Installation

Using npm:

npm install --save react-native-verify-device-root

or using yarn:

yarn add react-native-verify-device-root

Linking (React Native >= 0.60 skip this as auto-linking should work)

Notes

Work only on Android, open for pull requests.

Usage

import VerifyDeviceRoot from 'react-native-verify-device-root';

const root = await VerifyDeviceRoot.isRooted();

return true or false

©️ Open source - licence

Repository and contributions are under GNU General Public License v3.0