circle-exclamationMAD Trigger

MAD provides three reaction modes upon detection of improper behaviors on the device:

  • Immediate crash – the application is terminated abruptly, preventing continuation of execution.

  • Error message followed by crash – the user receives an alert message about the failure or security lock and then the application is closed.

  • Monitor Mode – there is no interruption of execution nor display of messages to the user; the detected event is only recorded and sent to the Command Center for analysis.

Enabling the event triggers

  1. Immediate Crash - Default mechanism, no implementations required.

  2. Error message followed by crash

<!--
    Activates an alert dialog when a detection event is triggered.
This setting ensures that users are notified via a dialog box whenever a detection occurs,
allowing immediate acknowledgement and response.

Some types of detection may not trigger this dialog box, as they may compromise the functionality
and security of the application.

For this feature to work correctly, your Android project must have the following requirements:
- androidx.appcompat (https://developer.android.com/jetpack/androidx/releases/appcompat).
      Make sure it is defined in the build.gradle file.
     Use a Theme.AppCompat theme (or descendant)
        (https://developer.android.com/develop/ui/views/theming/themes).
    -->
    <alertMessage>
        <enabled>true</enabled>
        <!-- The title of the pop-up dialog window. The default value is: Alert-->
        <title>Alert</title>
        <!--
        The message displayed in the pop-up dialog window. You can use the placeholder {detection} to include the
        type of detection. The default value is:
        A security issue was found on your device ({detection} detected). For your safety, the
        application will now be closed.
        -->
        <message>
            A security issue was found on your device ({detection} detected). For
            your protection, the application will now be closed.
        </message>

</alertMessage>
  1. Monitor Mode

Last updated