ahmadmsa87 / capacitor-jailbreak-root-detection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@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

About


Languages

Language:Java 51.5%Language:Swift 18.3%Language:JavaScript 14.6%Language:TypeScript 5.3%Language:HTML 3.8%Language:Ruby 3.3%Language:Objective-C 3.1%Language:CSS 0.1%