-
Notifications
You must be signed in to change notification settings - Fork 143
/
jailmonkey.d.ts
30 lines (28 loc) · 865 Bytes
/
jailmonkey.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// should be imported this way:
// import JailMonkey from 'jail-monkey';
declare const _default: {
jailBrokenMessage : () => string,
isJailBroken: () => boolean;
androidRootedDetectionMethods?: {
rootBeer: {
detectRootManagementApps: boolean;
detectPotentiallyDangerousApps: boolean;
checkForSuBinary: boolean;
checkForDangerousProps: boolean;
checkForRWPaths: boolean;
detectTestKeys: boolean;
checkSuExists: boolean;
checkForRootNative: boolean;
checkForMagiskBinary: boolean;
},
jailMonkey: boolean;
};
hookDetected: () => boolean;
isDebuggedMode: () => Promise<boolean>;
canMockLocation: () => boolean;
trustFall: () => boolean;
isOnExternalStorage: () => boolean;
AdbEnabled: () => boolean;
isDevelopmentSettingsMode: () => Promise<boolean>;
};
export default _default;