This plugin is combination of
https://github.com/leecrossley/cordova-plugin-jailbreak-detection.git
and
https://github.com/masbog/isJB
cordova plugin add https://github.com/martinkasa/cordova-plugin-jailbreak-detection.git
jailbreakdetection.isJailbroken(successCallback, failureCallback);- =>
successCallbackis called with true if the device is Jailbroken, otherwise false - =>
failureCallbackis called if there was an error determining if the device is Jailbroken
iOS only.