Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-isrooted

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-isrooted

This package can be used to identify if the device is Rooted/Jailbroken or a Simulator/Emulator

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

react-native-isrooted

Getting started

$ npm install react-native-isrooted --save

AutoLinking

Android
For React Native version >= 0.60.0 will be autolinked

iOS
you need to run, cd ios/ && pod install && cd ..

Manual Linking

For React Native version < 0.60.0
$ react-native link react-native-isrooted

Usage

import DeviceStatus from 'react-native-isrooted';

async componentDidMount(){
   console.log(await DeviceStatus.isRooted());
}

or

componentDidMount(){
   const isRooted = DeviceStatus.isRooted(status => status));
}
Contribution

Thank you all who helped to compile this amazing library.

  • Yang @beast
  • Erandi Hasithanjali @era21

Keywords

FAQs

Package last updated on 21 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc