Mendix does not provide a built-in feature to restrict the installation of mobile applications on jailbroken/rooted phones. However, you can implement this functionality in your Mendix mobile application by using third-party libraries or plugins that detect if the device is jailbroken/rooted.
One way to achieve this is to use a plugin like Cordova Jailbreak Detection Plugin, which can be integrated into your Mendix mobile application. This plugin detects whether the device is jailbroken/rooted by checking for the presence of certain files and libraries that are commonly installed on such devices.
To integrate this plugin into your Mendix mobile application, you would need to:
Create a custom Cordova plugin by following the steps outlined in the Mendix documentation.
Add the Cordova Jailbreak Detection Plugin to your custom plugin by including it in the plugin.xml file.
Alternatively, you could use a third-party mobile device management (MDM) solution that provides jailbreak/root detection capabilities. Some MDM solutions allow you to configure policies that prevent jailbroken/rooted devices from accessing certain resources or applications, including your Mendix mobile application.