How to restrict an application to be installed on a jailbreak/rooted phone

0
Hello ,   Can anyone provide idea on how to restrict Mendix mobile application to be installed on a jailbreak/rooted phone. Or how mendix handles this out of the box.
asked
1 answers
-1

Hello Shriram,

 

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:

  1. Create a custom Cordova plugin by following the steps outlined in the Mendix documentation.

  2. Add the Cordova Jailbreak Detection Plugin to your custom plugin by including it in the plugin.xml file.

  3. Use the plugin in your Mendix mobile application by calling the relevant JavaScript functions to check if the device is jailbroken/rooted.

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.

answered