Detecting rooted or jailbroken devices
// Root detection on Android
override fun onRootDetected() {
TODO("Not yet implemented")
}
// iOS jailbreaking detection
case jailbreak
// Flutter root and jailbreak detection
onPrivilegedAccess: () => print("Privileged access")
// Cordova root and jailbreak detection
privilegedAccess: () => {
// Place your reaction here
}
// React Native root and jailbreak detection
privilegedAccess: () => {
// Place your reaction here
}
// Capacitor root and jailbreak detection
privilegedAccess: () => {
// Place your reaction here
}Last updated

