@swernimont/capacitor-jailbreak-root-detection
v5.0.0-beta2
Published
Jailbreak Root detection plugin for capacitor.
Downloads
305
Readme
@swernimo/capacitor-jailbreak-root-detection
This is a Capacitor 5 fork of @evehr's Jailbreak Root detection plugin.
Install
npm install @swernimo/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 |