Skip to content

Capacitor community plugin to add an extra layer of security for your app by detecting if the device has been rooted (on Android) or jailbreaked (on iOS)

License

Notifications You must be signed in to change notification settings

capacitor-community/device-security-detect

Repository files navigation


Device Security Detect Plugin

@capacitor-community/device-security-detect

The Device Security Detect plugin is designed to provide comprehensive device security detection capabilities for Capacitor-based applications. It aims to detect the device has been rooted (Android) or jailbroken (iOS). By using this plugin, developers can enhance the security of their applications and take appropriate actions based on the detected security status.


Table of Contents

Maintainers

Maintainer GitHub Active
4ooper 4ooper yes
ryaa ryaa yes

Plugin versions

Capacitor version Plugin version
6.x 6.x

Supported Platforms

  • iOS
  • Android

Installation

npm install @capacitor-community/device-security-detect
npx cap sync

API

isJailBreakOrRooted()

isJailBreakOrRooted() => Promise<{ value: boolean; }>

Returns: Promise<{ value: boolean; }>


Usage

Detect if the device has been rooted (Android) or jailbroken (iOS)

import { DeviceSecurityDetect } from '@capacitor-community/device-security-detect';

const { value } = await DeviceSecurityDetect.isJailBreakOrRooted();

About

Capacitor community plugin to add an extra layer of security for your app by detecting if the device has been rooted (on Android) or jailbreaked (on iOS)

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published