UNPKG

nativescript-jailbreak-detector

Version:

This plugin checks for root in android devices as well as for jailbreak in IOS devices

20 lines (19 loc) 748 B
import { Common, JailBreakDetectorAPI } from './jailbreak-detector.common'; export declare class JailbreakDetector extends Common implements JailBreakDetectorAPI { isRootedOrBusyboxInstalled(): boolean; isRootedWithoutBusyBoxCheck(): boolean; detectRootManagementApps(): boolean; detectPotentiallyDangerousApps(): boolean; detectTestKeys(): boolean; checkForBusyBoxBinary(): boolean; checkForSuBinary(): boolean; checkSuExists(): boolean; checkForRWPaths(): boolean; checkForDangerousProps(): boolean; checkForRootNative(): boolean; detectRootCloakingApps(): boolean; isSelinuxFlagInEnabled(): boolean; checkForMagiskBinary(): boolean; isRooted(): boolean; isJailBroken(): boolean; }