Skip to content

Red1tum/react-native-root-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

react-native-root-detection

Detect root on user device

Installation

npm install react-native-root-detection

Usage

import { isRootDetected, isDebuggable, isEmulator } from 'react-native-root-detection';

// ...

// Is device rooted or jailbreaked
const isDeviceRooted = isRootDetected();

// On Android: is application debuggable or is debugger connected to application
// On iOS: is debugger attached to application
const isDebuggable = isDebuggable();

// Is application running on emulator/simulator
const isRunningOnEmulator = isEmulator();

License

MIT

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published