The plugin validates, when it initializes, that the device is not compromised, i.e. it is not rooted (Android) or jailbroken (iOS). It also validates that a pin, pattern, or passcode is set to lock the device. If the device is not secured according to this criteria a message is shown to the user and the app exits without showing any information.
Simply add a reference to the plugin and use the InitDeviceCompile action in the OnApplicationReady event. This ensures that the plugin will be included in the native build.
OnApplicationReady
Additional security parameters are checked for Mobile devices:
1. Root Application, Root Cloaking and Dangerous Application Package Checks
2. Paths that should not be writable
3. Super User Path checks