capacitor-root-jailbreak-detector
Capacitor Plugin Root/Jailbreak Detection
Install
npm install capacitor-root-jailbreak-detector
npx cap sync
API
isRooted()
isRootedWithBusyBox()
isRootedWithEmulator()
isRootedWithBusyBoxWithEmulator()
isDetectRootManagementAppsRooted()
isDetectPotentiallyDangerousAppsRooted()
isTestKeysRooted()
isCheckForBusyBoxBinaryRooted()
isCheckForSuBinaryRooted()
isCheckSuExistsRooted()
isCheckForRWPathsRooted()
isCheckForDangerousPropsRooted()
isCheckForRootNativeRooted()
isDetectRootCloakingAppsRooted()
isSelinuxFlagInEnabled()
isExistBuildTagsRooted()
doesSuperuserApkExistRooted()
isExistSUPathRooted()
isCheckDirPermissionsRooted()
isCheckExecutingCommandsRooted()
isCheckInstalledPackagesRooted()
isCheckforOverTheAirCertificatesRooted()
isRunningOnEmulatorRooted()
isRunningOnEmulator()
simpleCheckEmulatorRooted()
simpleCheckSDKBF86Rooted()
simpleCheckQRREFPHRooted()
simpleCheckBuildRooted()
checkGenymotionRooted()
checkGenericRooted()
checkGoogleSDKRooted()
getDeviceInfo()
- Interfaces
isRooted()
isRooted() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
isRootedWithBusyBox()
isRootedWithBusyBox() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
isRootedWithEmulator()
isRootedWithEmulator() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
isRootedWithBusyBoxWithEmulator()
isRootedWithBusyBoxWithEmulator() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
isDetectRootManagementAppsRooted()
isDetectRootManagementAppsRooted() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
isDetectPotentiallyDangerousAppsRooted()
isDetectPotentiallyDangerousAppsRooted() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
isTestKeysRooted()
isTestKeysRooted() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
isCheckForBusyBoxBinaryRooted()
isCheckForBusyBoxBinaryRooted() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
isCheckForSuBinaryRooted()
isCheckForSuBinaryRooted() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
isCheckSuExistsRooted()
isCheckSuExistsRooted() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
isCheckForRWPathsRooted()
isCheckForRWPathsRooted() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
isCheckForDangerousPropsRooted()
isCheckForDangerousPropsRooted() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
isCheckForRootNativeRooted()
isCheckForRootNativeRooted() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
isDetectRootCloakingAppsRooted()
isDetectRootCloakingAppsRooted() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
isSelinuxFlagInEnabled()
isSelinuxFlagInEnabled() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
isExistBuildTagsRooted()
isExistBuildTagsRooted() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
doesSuperuserApkExistRooted()
doesSuperuserApkExistRooted() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
isExistSUPathRooted()
isExistSUPathRooted() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
isCheckDirPermissionsRooted()
isCheckDirPermissionsRooted() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
isCheckExecutingCommandsRooted()
isCheckExecutingCommandsRooted() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
isCheckInstalledPackagesRooted()
isCheckInstalledPackagesRooted() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
isCheckforOverTheAirCertificatesRooted()
isCheckforOverTheAirCertificatesRooted() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
isRunningOnEmulatorRooted()
isRunningOnEmulatorRooted() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
isRunningOnEmulator()
isRunningOnEmulator() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
simpleCheckEmulatorRooted()
simpleCheckEmulatorRooted() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
simpleCheckSDKBF86Rooted()
simpleCheckSDKBF86Rooted() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
simpleCheckQRREFPHRooted()
simpleCheckQRREFPHRooted() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
simpleCheckBuildRooted()
simpleCheckBuildRooted() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
checkGenymotionRooted()
checkGenymotionRooted() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
checkGenericRooted()
checkGenericRooted() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
checkGoogleSDKRooted()
checkGoogleSDKRooted() => Promise<{ isRooted: boolean; }>
Returns: Promise<{ isRooted: boolean; }>
getDeviceInfo()
getDeviceInfo() => Promise<DeviceInfo>
Returns: Promise<DeviceInfo>
Interfaces
DeviceInfo
Prop | Type |
---|---|
DEVICE |
string |
MODEL |
string |
MANUFACTURER |
string |
BRAND |
string |
BOARD |
string |
HARDWARE |
string |
PRODUCT |
string |
FINGERPRINT |
string |
HOST |
string |
USER |
string |
OSNAME |
string |
OSVERSION |
string |
V_INCREMENTAL |
string |
V_RELEASE |
string |
V_SDK_INT |
string |