Verify if the device is rooted, jailbroken, or running in an emulator.
Check if the application is running on a rooted Android phone, jailbroken iOS device, or emulator. Use this to enforce security policies for banking, fintech, or enterprise applications.
import nativine from 'nativine';
const { isSecure, reason } = await nativine.device.checkSecurity();
isSecure — true if device passes all security checks.reason — If not secure, contains the failure reason (e.g. "rooted", "emulator", "debugger_attached").