nativescript-jailbreak-detector
Version:
This plugin checks for root in android devices as well as for jailbreak in IOS devices
22 lines (21 loc) • 789 B
TypeScript
import { Common, JailBreakDetectorAPI } from './jailbreak-detector.common';
export declare class JailbreakDetector extends Common implements JailBreakDetectorAPI {
private rootBeer;
constructor();
isRootedOrBusyboxInstalled(): boolean;
isRooted(): 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;
isJailBroken(): boolean;
}