--- title: "Root detection" slug: "root-detection" updated: 2025-10-24T12:26:13Z published: 2025-10-27T16:42:39Z canonical: "docs.onespan.com/root-detection" excludeFromSearch: true --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # Root detection 1. 2. 3. 4. 5. 6. 7. Functional customization - RootDetection: This element defines the detection of a jailbroken/rooted device on Android and iOS. - policy: This attribute is used to define the policy of the feature. If set to ignore, the application can be executed even on a jailbroken/rooted device. If set to block, the application cannot be executed. Graphical customization - View > Errors > Error: - id="RootDetection": Defines the error message in case of a jailbroken/rooted device.