root-checker

Harshal Patil

0

Mobile Engineer

Software Engineer

Web Developer

Android Studio

Ionic

Xcode

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()

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
Like this project
0

Posted Mar 3, 2024

Created harshallcode/root-checker to facilitate root detection on Android against Magisk Root Hide.

Likes

0

Views

4

Clients

SBI Life

Tags

Mobile Engineer

Software Engineer

Web Developer

Android Studio

Ionic

Xcode