@nativescript/ios-security
Version:
IOSSecuritySuite for NativeScript
20 lines (12 loc) • 574 B
TypeScript
export declare class IOSSecurity {
static amIJailbroken():boolean;
static amIDebugged(): boolean;
static amIRunInEmulator(): boolean;
static denyDebugger();
static amIReverseEngineered();
static amIProxied(): boolean;
// @ts-ignore
static amIRuntimeHookedWithDyldWhiteListDetectionClassSelectorIsClassMethod(dyldWhiteList: NSArray<string> | string[], detectionClass: typeof NSObject, selector: string, isClassMethod: boolean): boolean;
// @ts-ignore
static amITampered(checks: NSArray<any> | any[]): NSArray<any>;
}