Safe to run
Comment on page

Root detection

This check will verify that the device is not rooted. It defers this check to the rootbeer library. Syntax is as follows:

When to use

Use this in order to prevent rooted phones from running your application.
For example, you might have an application (say a password manager or a banking application) where you deem the risk to customers to be un-acceptable for your app to run on a rooted phone