New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

root-checker

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

root-checker

This plugin detects whether a given native device is rooted or not

latest
Source
npmnpm
Version
1.5.0
Version published
Maintainers
1
Created
Source

root-checker

This plugin is used to detect whether a given device is rooted or not

Install

npm install root-checker
npx cap sync

API

  • checkRoot()
  • isDeveloperModeEnable()
  • isEmulatorPresent()
  • getCpuArchitecture()
  • openDeveloperSetting()
  • isADBEnabled()
  • checkFridaPresence()

checkRoot()

checkRoot() => Promise<{ isRooted: boolean; }>

Get information about device root status

Returns: Promise<{ isRooted: boolean; }>

Since: 1.0.0

isDeveloperModeEnable()

isDeveloperModeEnable() => Promise<{ isEnabled: boolean; }>

Get whether developer mode is enabled on user device or not

Returns: Promise<{ isEnabled: boolean; }>

Since: 1.0.0

isEmulatorPresent()

isEmulatorPresent() => Promise<{ isEmulator: boolean; }>

Get whether the app is being run on an emulator or not

Returns: Promise<{ isEmulator: boolean; }>

Since: 1.0.0

getCpuArchitecture()

getCpuArchitecture() => Promise<{ cpuArch: string; }>

Get information about CPU architecture

Returns: Promise<{ cpuArch: string; }>

Since: 1.1.0

openDeveloperSetting()

openDeveloperSetting() => Promise<void>

Redirect to user's device's developer setting, usually to turn off developer mode

Since: 1.2.0

isADBEnabled()

isADBEnabled() => Promise<{ isADBEnabled: boolean; }>

Returns whether ADB is enabled in user's device or not

Returns: Promise<{ isADBEnabled: boolean; }>

Since: 1.2.2

checkFridaPresence()

checkFridaPresence() => Promise<{ isFridaDetected: boolean; }>

Returns whether Frida script is being executed in user's device or not

Returns: Promise<{ isFridaDetected: boolean; }>

Since: 1.3.3

Keywords

capacitor

FAQs

Package last updated on 27 Oct 2025

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