UNPKG

nativescript-jailbreak-detector

Version:

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

26 lines (25 loc) 822 B
import { Observable } from 'tns-core-modules/data/observable'; export interface JailBreakDetectorAPI { 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; isRootedOrBusyboxInstalled(): boolean; } export declare class Common extends Observable { constructor(); } export declare class Utils { static SUCCESS_MSG(): string; }