Verify device root for React Native.
Using npm:
npm install --save react-native-verify-device-root
or using yarn:
yarn add react-native-verify-device-root
Work only on Android, open for pull requests.
import VerifyDeviceRoot from 'react-native-verify-device-root';
const root = await VerifyDeviceRoot.isRooted();
return true or false
Repository and contributions are under GNU General Public License v3.0