Skip to content

evehr-vn/capacitor-jailbreak-root-detection

Repository files navigation

@evehr/capacitor-jailbreak-root-detection

Jailbreak Root detection plugin for capacitor.

Install

npm install @evehr/capacitor-jailbreak-root-detection
npx cap sync

API

isJailbrokenOrRooted()

isJailbrokenOrRooted() => Promise<JailbreakRootResult>

Returns: Promise<JailbreakRootResult>


isSimulator()

isSimulator() => Promise<JailbreakRootResult>

Returns: Promise<JailbreakRootResult>


isDebuggedMode()

isDebuggedMode() => Promise<JailbreakRootResult>

Returns: Promise<JailbreakRootResult>


exitApp()

exitApp() => void

Interfaces

JailbreakRootResult

Prop Type
result boolean