@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.
Maintainer | GitHub | Active |
---|---|---|
4ooper | 4ooper | yes |
ryaa | ryaa | yes |
Capacitor version | Plugin version |
---|---|
6.x | 6.x |
- iOS
- Android
npm install @capacitor-community/device-security-detect
npx cap sync
isJailBreakOrRooted() => Promise<{ value: boolean; }>
Detect if the device has been rooted (Android) or jailbroken (iOS)
Returns: Promise<{ value: boolean; }>
Since: 6.0.0
import { DeviceSecurityDetect } from '@capacitor-community/device-security-detect';
const { value } = await DeviceSecurityDetect.isJailBreakOrRooted();