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