Use this plugin to add an extra layer of security for your app, by detecting if the device running the app is Jailbroken (iOS) or Rooted (Android).