Skip to main content
Version: 7.3.0

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();
}