Root detection
Root detection is mostly deferred to RootBeer. The configuration looks like this:
- Safe to run (Default)
- Reporting
safeToRun(buildSafeToRunCheckList {
add {
rootDetectionCheck()
}
})
rootDetection {
tolerateRoot = false
tolerateBusyBox = true
}
We also have an additional option (see blacklisting apps for more information) to deny running if we are able to see blacklisted apps
For example:
blacklistConfiguration {
+"com.abc.def"
blacklistRootingApps()
}.error()