public class DeviceChecker : NSObject, InitializationStateProvider

Execute the checks related to the device security and software.

By default device checks will be run when the application is launched (cold start) and any risks notified via the ThreatStatus API. However as the status of a user’s device could change whilst an application is running, it may in some circumstances be advisable to re-run the checks.

For example, when a user requests to make a financial transaction or is asked to enter sensitive information.

  • Executes the device security checks.

    The function will check for the following security issues on the device:

    1. Has the device been jailbroken?
    2. Is a debugger attached to an application process?
    3. Has a screenlock been configured by the user?
    4. Check for functions in your application which have been hooked

    Use setDeviceSecurityRules(_:) to configure which rules are evaluated.



    public static func checkDeviceSecurity() throws