@capacitor-community/device-security-detect
v6.0.1
Published
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 ca
Downloads
1,332
Maintainers
Readme
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; }>
Detect if the device has been rooted (Android) or jailbroken (iOS)
Returns: Promise<{ value: boolean; }>
Since: 6.0.0
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();