Skip to main content
Version: 7.2.1

Root(Jailbreak) Detection

Rooting is a modification of the system that allows the user to execute commands with root privileges. Rooting can cause security issues if used improperly. You can check in the application that the device is rooted(jailbroken).

import { RootDetection } from "@smartface/security/";
import Application from "@smartface/native/application";

if (RootDetection.isRooted()) {
Application.exit();
}