@basecom-gmbh/capacitor-jailbreak-root-detection
TypeScript icon, indicating that this package has built-in type declarations

7.0.4 • Public • Published

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

Prop Type
result boolean

Readme

Keywords

Package Sidebar

Install

npm i @basecom-gmbh/capacitor-jailbreak-root-detection

Weekly Downloads

861

Version

7.0.4

License

MIT

Unpacked Size

21 kB

Total Files

29

Last publish

Collaborators

  • jordankniest
  • s_kroll
  • m.borgmann
  • mdick-basecom
  • m.loeffler
  • nelesophieruess
  • jovobe
  • philbasecom