Socket
Socket
Sign inDemoInstall

react-native-isrooted

Package Overview
Dependencies
514
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

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


Version published
Weekly downloads
3
increased by50%
Maintainers
1
Install size
29.9 kB
Created
Weekly downloads
 

Readme

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

Last updated on 21 Jul 2021

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc