/capacitor-jailbreak-root-detection

Jailbreak Root detection plugin for capacitor.

Primary LanguageSwift

Capacitor Jailbreak Root Detection

Jailbreak Root detection plugin for capacitor.

Install

Install the package.

npm install jailbreak-root-detection
npx cap sync

iOS installation

Add 'cydia' to the query schema of your app, otherwise the jailbreak detection will not work.

<key>LSApplicationQueriesSchemes</key>
<array>
    <string>cydia</string>
</array>

API

isJailbrokenOrRooted()

isJailbrokenOrRooted() => any

Returns: any


Interfaces

JailbreakRootResult

Prop Type
result boolean