7.0.4 • Published 9 months ago

@basecom-gmbh/capacitor-jailbreak-root-detection v7.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Capacitor Jailbreak Root Detection

A Capacitor plugin for detecting jailbroken iOS devices and rooted Android devices in your mobile applications.

Installation

Install the package using npm:

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

Version Compatibility:

  • Use jailbreak-root-detection@6.0.0 with Capacitor 6.x
  • Use jailbreak-root-detection@7.0.0 with Capacitor 7.x

iOS Configuration

For iOS jailbreak detection to function properly, you must add 'cydia' to your app's query schemes. Open your Info.plist file and add:

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

API Reference

isJailbrokenOrRooted()

isJailbrokenOrRooted() => Promise<JailbreakRootResult>

Returns: Promise<JailbreakRootResult>


Interfaces

JailbreakRootResult

PropType
resultboolean
6.0.1

9 months ago

6.0.0

9 months ago

7.0.0

9 months ago

7.0.4

9 months ago

7.0.3

9 months ago

7.0.2

9 months ago

7.0.1

9 months ago

1.0.4

3 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago