Skip to content

smarki/react-native-root-protection

Repository files navigation

react-native-root-protection

Add root and emulator protection to your React Native app

Installation

npm install react-native-root-protection

Usage

import { isRooted, isEmulator } from 'react-native-root-protection';

// ...

const isCompromised = isRooted() || isEmulator();

Tested with

  • Android Studio emulators
  • Genymotion
  • BlueMotion
  • MeMU
  • LD Player

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT