{"_id":"@aerogear/cordova-plugin-iroot","_rev":"12-18051522820624c321e0258d536d49f2","name":"@aerogear/cordova-plugin-iroot","dist-tags":{"next":"0.8.1-dev.6","latest":"0.8.1"},"versions":{"0.8.1-dev.1":{"name":"@aerogear/cordova-plugin-iroot","version":"0.8.1-dev.1","description":"Cordova Jailbreak/Root Detection Plugin for Apache Cordova","types":"./types/index.d.ts","scripts":{"release:validate":"./scripts/validateRelease.sh","publish":"./scripts/publishRelease.sh"},"publishConfig":{"access":"public"},"cordova":{"id":"cordova-plugin-iroot","platforms":["ios","android"]},"keywords":["ecosystem:cordova","cordova-android","cordova-ios","cordova","jailbreak","jailbroken","cydia","detection","detector","root","rooted","rootBeer","android","ios","iroot","plugin"],"engines":[{"name":"cordova","version":">=6.0.0"}],"author":{"name":"Wuglyak Bolgoink","url":"info@cyberkatze.de"},"license":"MIT","bugs":{"url":"https://github.com/WuglyakBolgoink/cordova-plugin-iroot/issues"},"homepage":"https://github.com/WuglyakBolgoink/cordova-plugin-iroot#readme","repository":{"type":"git","url":"git+https://github.com/WuglyakBolgoink/cordova-plugin-iroot.git"},"gitHead":"214223ebdcaff5c88c6797ae58e0f523efefa8da","_id":"@aerogear/cordova-plugin-iroot@0.8.1-dev.1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-Oz/sX9nPBUHEmWPgNiVIY8d0AjmVMsLGoI6ttvWQUxu4MgZ4K9X8Urb9qNEzmXhcY6PyHVZcXC7Gz4UEUR/K+w==","shasum":"05ed619d92772521ca4cffbc71342f84cc770ae8","tarball":"https://registry.npmjs.org/@aerogear/cordova-plugin-iroot/-/cordova-plugin-iroot-0.8.1-dev.1.tgz","fileCount":20,"unpackedSize":72265,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdB1K0CRA9TVsSAnZWagAAohUP/0spzsDI91+Nj/LDGGmP\ndVE/PuufRPRvka0aJsc3SgeOn8TBpZQFs/PqAe3jDxwdbJo34LJ0Zk4NQM2u\nJD1BMna7x5aXL7TJ4IUIJhOt+8CzOftXTngAaiZILIV2GCu1BrRjcjVn/1lA\n+Q5/ZaS1oifYMkaaCIOuqISKbpnTv5go/Zn+lxmpqveReaHWKxlNCLQ0QQfr\nmM+QoGbGPQXBUve1bQq/3TF4rOy+0C49YhtgmS/Ft7fhYynjjgJOWME3up6J\nHHrUe0UqTnC3W9hGxlI1btC671IyjBBmEtNPQub7YubWVfWuqRYT+BNBL0My\n8XrpmEX3Z8oOwxFqHaK0p5SpGlYZq6wjgrrlZIhHUKU1fNaRZs0PMam1qH4C\nRHE6/beKBGxPt2EoDc/lWGpr37XAacWA2z/oktMfO4esKVkts8ct0VntIl9U\n/rM98C7285ejhHaXfjrnd+ZREiJmGi7wHZJqFnuI3t+XGFuWm9Qw2/dB8rie\n/1GovseOnRi+uHrfsSfMg1WLkAtBdpf5qmag66wBDJ37rscaFHHM55h0Httu\nUkMRy/sLF1/P//pFJczHW7wuZ0t64VFZIifA1r46x49enczm2CPmges13YUD\nXIHLgQZeNLC9FVyy32BPrxLD40pXI8/lY4NterpxX7gRwm4wmpUtfBeFT9WS\nplmL\r\n=Np7Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVJk1tKnZeJIgIPNJ8qbsJjTQNs7zRm1h8rXOMydxTmgIhAPKpiD8d9rsJnZ1FL6EZawJXS0QMxqLfe0onXVwBvZZi"}]},"maintainers":[{"name":"darahayes","email":"dara.s.hayes@gmail.com"},{"name":"aerogears","email":"aerogear@redhat.com"},{"name":"danielpassos","email":"daniel@passos.me"},{"name":"lrossetti","email":"leonardo@goldark.com.br"},{"name":"aliok","email":"aliok@apache.org"},{"name":"wtrocki","email":"wtrocki@redhat.com"},{"name":"matzew","email":"matzew@apache.org"},{"name":"scoady","email":"scoady@redhat.com"},{"name":"aerogear-ci","email":"aerogear@redhat.com"}],"_npmUser":{"name":"aerogear-ci","email":"aerogear@redhat.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cordova-plugin-iroot_0.8.1-dev.1_1560761011959_0.854454845127862"},"_hasShrinkwrap":false},"0.8.1-dev.2":{"name":"@aerogear/cordova-plugin-iroot","version":"0.8.1-dev.2","description":"Cordova Jailbreak/Root Detection Plugin for Apache Cordova","types":"./types/index.d.ts","scripts":{"release:validate":"./scripts/validateRelease.sh","publish":"./scripts/publishRelease.sh"},"publishConfig":{"access":"public"},"cordova":{"id":"cordova-plugin-iroot","platforms":["ios","android"]},"keywords":["ecosystem:cordova","cordova-android","cordova-ios","cordova","jailbreak","jailbroken","cydia","detection","detector","root","rooted","rootBeer","android","ios","iroot","plugin"],"engines":[{"name":"cordova","version":">=6.0.0"}],"author":{"name":"Wuglyak Bolgoink","url":"info@cyberkatze.de"},"license":"MIT","bugs":{"url":"https://github.com/WuglyakBolgoink/cordova-plugin-iroot/issues"},"homepage":"https://github.com/WuglyakBolgoink/cordova-plugin-iroot#readme","repository":{"type":"git","url":"git+https://github.com/WuglyakBolgoink/cordova-plugin-iroot.git"},"gitHead":"267f23f74a15c14547c2f0fe64d94357969796c8","readme":"[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/WuglyakBolgoink/cordova-plugin-iroot/master/LICENSE)\n[![Android](https://img.shields.io/badge/android-success-green.svg)](https://shields.io)\n[![iOS](https://img.shields.io/badge/iOS-success-green.svg)](https://shields.io)\n\n<p align=\"center\">\n  <img src=\"/assets/logo.png\">\n</p>\n\nCordova Jailbreak/Root Detection Plugin\n=======================================\n\nUse this plugin to add an extra layer of security for your app by detecting if the device was `root`ed (android) or `jailbreak`ed (iOS).\n\n## Install\n\n```\ncordova plugin add cordova-plugin-iroot --save\n```\n\n### Custom `Android` Install to prevent [False positives](https://github.com/scottyab/rootbeer#false-positives) checks\n\nYou can use `ENABLE_BUSYBOX_CHECK` variable to change the logic. By default is `true`.\n\n```\ncordova plugin add cordova-plugin-iroot --variable ENABLE_BUSYBOX_CHECK=false --save\n```\n\n## Usage in Javascript\n\n```\n// available => iOS + Android\nIRoot.isRooted(successCallback, failureCallback);\n\n// available => Android\nIRoot.isRootedRedBeer(successCallback, failureCallback);\n\n// available => Android\nIRoot.isRootedRedBeerWithoutBusyBoxCheck(successCallback, failureCallback);\n```\n\n- `successCallback(result:boolean)` is called with `true` if the device is Jailbroken/rooted, otherwise `false`.\n- `failureCallback(error:string)` is called if there was an error determining if the device is Jailbroken/rooted.\n\n## Info\n\nBased on:\n\n- **iOS**\n    - [cordova-plugin-jailbreak-detection](https://github.com/leecrossley/cordova-plugin-jailbreak-detection)\n    - [Shmoopi Anti-Piracy](https://github.com/Shmoopi/AntiPiracy)\n- **Android**\n    - [RootBeer](https://github.com/scottyab/rootbeer/blob/master/README.md)\n    - [cordova-plugin-root-detection](https://github.com/trykovyura/cordova-plugin-root-detection)\n\n## Demo ionic\n\nSee [comments](https://github.com/WuglyakBolgoink/cordova-plugin-iroot/issues/1).\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n## License\n\nMIT License\n\nCopyright (c) 2017 Wuglyak Bolgoink\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","readmeFilename":"README.md","_id":"@aerogear/cordova-plugin-iroot@0.8.1-dev.2","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-Ruuw0LS/MBKxMYbIxl6ISyjCsNmssfm0/WiZAGqXQU5eNhL6rnnlJi7Q/wlS5JGodQmf6t3Fndl/FAlUY2j3sw==","shasum":"4bec709e68dbed0f360d59c2a5fa713d7ad2cf8a","tarball":"https://registry.npmjs.org/@aerogear/cordova-plugin-iroot/-/cordova-plugin-iroot-0.8.1-dev.2.tgz","fileCount":20,"unpackedSize":72265,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdB1PsCRA9TVsSAnZWagAADO0P/je/y2+cQHoBOALPyLRo\nQ0uizXFzo/HmLMm/PgM5hke0kh14Z6kBKOlNhfA7pTZ9Ai9iEy5ZJoGcmvlA\nnrX+TU5P29ePHiJwa5dVCOYI3x5JXlVvhCTCaPF7K/7s9/DLRHyqA/NcxBj6\nLahOBeSqOG9zs8ZK1GzHg9IyM+2mef/04LJs2s3lrNY2IbuGz8MQ+RpROjXA\n/CfV5OyMbwqlQSGgznSbSunvl1mwZL9Rs6i/jB5TTH6j0D1wqzytofmYnkFY\n8QpRy0VcJaPyXF4L9slcc7gdLSj6jIP4N+0GAb451VAgAYVECQUSZXr2HOy2\nHP71kDPrH/j28fb9USyW0PjnzO5xBToWAB5sWuj1lKmAgPTfUg3q7RtA3ObC\nnsT+pGzJLZzBhRlgfmSj0Cv+a4hLP4EbPN1x2RLia2vk0jv95UzB1vBIk4Ba\n+IVyJ8zWYPdmqaJGjKfGalLo6H1FwRksn9SSr7U37qMyc7WvR2Y6wJm8kUx8\n3EsPH5HD6zRpoAOlW/SBzESHVqaRnu+Whvs+OG7BSZMNiP3U9EaZXNwMmuW1\ndJS9kvJ6waiMgQTLqTdTJ+XLOQaKMZEfSm2PopV4uwsf8YcmfNcqKWfxnoTH\nu87gvikH09Ooo85XaIvYSycwhpvGRbDMmlvDYnTipuekBWH7DhsHmMvzEL51\n4BNa\r\n=Ssl6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDf49nucPXmMMOaXysCS+QK0txmO2ZeTGYaZPFQrx4qpQIgMfh9clxKGPoI29Tuwk6y1buYB/TfVIHjjYtRbeJN698="}]},"maintainers":[{"name":"aerogear-ci","email":"aerogear@redhat.com"},{"name":"aerogears","email":"aerogear@redhat.com"},{"name":"aliok","email":"aliok@apache.org"},{"name":"danielpassos","email":"daniel@passos.me"},{"name":"darahayes","email":"dara.s.hayes@gmail.com"},{"name":"lrossetti","email":"leonardo@goldark.com.br"},{"name":"matzew","email":"matzew@apache.org"},{"name":"scoady","email":"scoady@redhat.com"},{"name":"wtrocki","email":"wtrocki@redhat.com"}],"_npmUser":{"name":"aerogear-ci","email":"aerogear@redhat.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cordova-plugin-iroot_0.8.1-dev.2_1560761324105_0.8030257275065626"},"_hasShrinkwrap":false},"0.8.1-dev.3":{"name":"@aerogear/cordova-plugin-iroot","version":"0.8.1-dev.3","description":"Cordova Jailbreak/Root Detection Plugin for Apache Cordova","types":"./types/index.d.ts","scripts":{"release:validate":"./scripts/validateRelease.sh","publish":"./scripts/publishRelease.sh"},"publishConfig":{"access":"public"},"cordova":{"id":"cordova-plugin-iroot","platforms":["ios","android"]},"keywords":["ecosystem:cordova","cordova-android","cordova-ios","cordova","jailbreak","jailbroken","cydia","detection","detector","root","rooted","rootBeer","android","ios","iroot","plugin"],"engines":[{"name":"cordova","version":">=6.0.0"}],"author":{"name":"Wuglyak Bolgoink","url":"info@cyberkatze.de"},"license":"MIT","bugs":{"url":"https://github.com/WuglyakBolgoink/cordova-plugin-iroot/issues"},"homepage":"https://github.com/WuglyakBolgoink/cordova-plugin-iroot#readme","repository":{"type":"git","url":"git+https://github.com/WuglyakBolgoink/cordova-plugin-iroot.git"},"readme":"[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/WuglyakBolgoink/cordova-plugin-iroot/master/LICENSE)\n[![Android](https://img.shields.io/badge/android-success-green.svg)](https://shields.io)\n[![iOS](https://img.shields.io/badge/iOS-success-green.svg)](https://shields.io)\n\n<p align=\"center\">\n  <img src=\"/assets/logo.png\">\n</p>\n\nCordova Jailbreak/Root Detection Plugin\n=======================================\n\nUse this plugin to add an extra layer of security for your app by detecting if the device was `root`ed (android) or `jailbreak`ed (iOS).\n\n## Install\n\n```\ncordova plugin add cordova-plugin-iroot --save\n```\n\n### Custom `Android` Install to prevent [False positives](https://github.com/scottyab/rootbeer#false-positives) checks\n\nYou can use `ENABLE_BUSYBOX_CHECK` variable to change the logic. By default is `true`.\n\n```\ncordova plugin add cordova-plugin-iroot --variable ENABLE_BUSYBOX_CHECK=false --save\n```\n\n## Usage in Javascript\n\n```\n// available => iOS + Android\nIRoot.isRooted(successCallback, failureCallback);\n\n// available => Android\nIRoot.isRootedRedBeer(successCallback, failureCallback);\n\n// available => Android\nIRoot.isRootedRedBeerWithoutBusyBoxCheck(successCallback, failureCallback);\n```\n\n- `successCallback(result:boolean)` is called with `true` if the device is Jailbroken/rooted, otherwise `false`.\n- `failureCallback(error:string)` is called if there was an error determining if the device is Jailbroken/rooted.\n\n## Info\n\nBased on:\n\n- **iOS**\n    - [cordova-plugin-jailbreak-detection](https://github.com/leecrossley/cordova-plugin-jailbreak-detection)\n    - [Shmoopi Anti-Piracy](https://github.com/Shmoopi/AntiPiracy)\n- **Android**\n    - [RootBeer](https://github.com/scottyab/rootbeer/blob/master/README.md)\n    - [cordova-plugin-root-detection](https://github.com/trykovyura/cordova-plugin-root-detection)\n\n## Demo ionic\n\nSee [comments](https://github.com/WuglyakBolgoink/cordova-plugin-iroot/issues/1).\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n## License\n\nMIT License\n\nCopyright (c) 2017 Wuglyak Bolgoink\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","readmeFilename":"README.md","gitHead":"267f23f74a15c14547c2f0fe64d94357969796c8","_id":"@aerogear/cordova-plugin-iroot@0.8.1-dev.3","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-zDkjxM07MXLwrWUg+6Qv6wrS8/LrGX7fjuIezjSlLv1pVSk2/YJh6TMSjH29Kkhb4TZwzJjZqiPK/luddcMBBw==","shasum":"d64c5c99fc335d8d78e70b735d38032c7a0822e9","tarball":"https://registry.npmjs.org/@aerogear/cordova-plugin-iroot/-/cordova-plugin-iroot-0.8.1-dev.3.tgz","fileCount":20,"unpackedSize":72265,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdB1SOCRA9TVsSAnZWagAAR4UP/jSFM5GOevAL3Lz3ID7l\nqyujTitFV5wZAWWMsWAdNWCghDF9DpiTLwVS88eg54wWS14M01h9PDiq22tc\nzGg8cCJ6zHdAHmVzkt7qPWPp+MOZlpPBM4xTnfvplyZDStoz/SJcMjwtSzL7\nyEAwnEslhrQ0US0ZjBbA/rKNaflBfr4W39DzRN5i6tHgAXfj8lDx7osk/u+i\nvfILQVVAiV473pQIz7bLipJM5c7AS5Cmm2O7Xy9VOUmHGvnzLQOcJxXLzM2O\ngf1gORw5pzhqvQgQJsZv06aSowX57JY6SfcCgGAsb/Ubn3zGL9boK0PqHDZu\nxJTBdKUxx5pb3AgbvYVXQZF2AQ8IM0rGUpVoXekrxS5w739CWt1bSf2z3q8m\n44FY6oRSEKYqT8qDg28Tn2wSua5nHJJD4pOpGaXf4p1fZB9ptcc7l5PF1zDN\nQa/EQFKXDD0DUzH5G00QFUeUsTItSZWk2W/3JP8RKgAzHKKKzUIwvxEWDcdR\nsknsl5kLv1c9pqi4YS+94iaNA4fDgHyn+ygvcUeEuun2lTNobTvPK6CpEpTN\nQ731Jr6x1y5lUgBLHeXVSTd1WuPu4tRqkwOkVHcItFoGm5cnmyO76wFz/MzH\ng/ZUBtE47pDQ8lvXQcI+Bz774YorIgTgt1ttIcaXY+yW25GoQucC+uY8kDaS\n75XV\r\n=sAeM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHguMudXEbTBO3OkXGtBhdVf8nOLN2ZQl8+wU+QUTDHlAiAwNJ8YchG8ci5cPje9yyGcawXNCP828aUimbUgZAjXHw=="}]},"maintainers":[{"name":"aerogear-ci","email":"aerogear@redhat.com"},{"name":"aerogears","email":"aerogear@redhat.com"},{"name":"aliok","email":"aliok@apache.org"},{"name":"danielpassos","email":"daniel@passos.me"},{"name":"darahayes","email":"dara.s.hayes@gmail.com"},{"name":"lrossetti","email":"leonardo@goldark.com.br"},{"name":"matzew","email":"matzew@apache.org"},{"name":"scoady","email":"scoady@redhat.com"},{"name":"wtrocki","email":"wtrocki@redhat.com"}],"_npmUser":{"name":"aerogear-ci","email":"aerogear@redhat.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cordova-plugin-iroot_0.8.1-dev.3_1560761485835_0.4736308134983638"},"_hasShrinkwrap":false},"0.8.1-dev.4":{"name":"@aerogear/cordova-plugin-iroot","version":"0.8.1-dev.4","description":"Cordova Jailbreak/Root Detection Plugin for Apache Cordova","types":"./types/index.d.ts","scripts":{"release:validate":"./scripts/validateRelease.sh","publish":"./scripts/publishRelease.sh"},"publishConfig":{"access":"public"},"cordova":{"id":"cordova-plugin-iroot","platforms":["ios","android"]},"keywords":["ecosystem:cordova","cordova-android","cordova-ios","cordova","jailbreak","jailbroken","cydia","detection","detector","root","rooted","rootBeer","android","ios","iroot","plugin"],"engines":[{"name":"cordova","version":">=6.0.0"}],"author":{"name":"Wuglyak Bolgoink","url":"info@cyberkatze.de"},"license":"MIT","bugs":{"url":"https://github.com/WuglyakBolgoink/cordova-plugin-iroot/issues"},"homepage":"https://github.com/WuglyakBolgoink/cordova-plugin-iroot#readme","repository":{"type":"git","url":"git+https://github.com/WuglyakBolgoink/cordova-plugin-iroot.git"},"readme":"[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/WuglyakBolgoink/cordova-plugin-iroot/master/LICENSE)\n[![Android](https://img.shields.io/badge/android-success-green.svg)](https://shields.io)\n[![iOS](https://img.shields.io/badge/iOS-success-green.svg)](https://shields.io)\n\n<p align=\"center\">\n  <img src=\"/assets/logo.png\">\n</p>\n\nCordova Jailbreak/Root Detection Plugin\n=======================================\n\nUse this plugin to add an extra layer of security for your app by detecting if the device was `root`ed (android) or `jailbreak`ed (iOS).\n\n## Install\n\n```\ncordova plugin add cordova-plugin-iroot --save\n```\n\n### Custom `Android` Install to prevent [False positives](https://github.com/scottyab/rootbeer#false-positives) checks\n\nYou can use `ENABLE_BUSYBOX_CHECK` variable to change the logic. By default is `true`.\n\n```\ncordova plugin add cordova-plugin-iroot --variable ENABLE_BUSYBOX_CHECK=false --save\n```\n\n## Usage in Javascript\n\n```\n// available => iOS + Android\nIRoot.isRooted(successCallback, failureCallback);\n\n// available => Android\nIRoot.isRootedRedBeer(successCallback, failureCallback);\n\n// available => Android\nIRoot.isRootedRedBeerWithoutBusyBoxCheck(successCallback, failureCallback);\n```\n\n- `successCallback(result:boolean)` is called with `true` if the device is Jailbroken/rooted, otherwise `false`.\n- `failureCallback(error:string)` is called if there was an error determining if the device is Jailbroken/rooted.\n\n## Info\n\nBased on:\n\n- **iOS**\n    - [cordova-plugin-jailbreak-detection](https://github.com/leecrossley/cordova-plugin-jailbreak-detection)\n    - [Shmoopi Anti-Piracy](https://github.com/Shmoopi/AntiPiracy)\n- **Android**\n    - [RootBeer](https://github.com/scottyab/rootbeer/blob/master/README.md)\n    - [cordova-plugin-root-detection](https://github.com/trykovyura/cordova-plugin-root-detection)\n\n## Demo ionic\n\nSee [comments](https://github.com/WuglyakBolgoink/cordova-plugin-iroot/issues/1).\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n## License\n\nMIT License\n\nCopyright (c) 2017 Wuglyak Bolgoink\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","readmeFilename":"README.md","gitHead":"267f23f74a15c14547c2f0fe64d94357969796c8","_id":"@aerogear/cordova-plugin-iroot@0.8.1-dev.4","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-vI2NIfaFuNOuLkqw/ZNbiSvnMgtmrW3dDLKuv/Y70O2y6rI1WDQcLKVos25my+62hgJu3O7cOJ1uMbh6RHNI3g==","shasum":"813a288f2761df92f908e7651b59b0270d4f811a","tarball":"https://registry.npmjs.org/@aerogear/cordova-plugin-iroot/-/cordova-plugin-iroot-0.8.1-dev.4.tgz","fileCount":20,"unpackedSize":72265,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdB1VYCRA9TVsSAnZWagAAGZIP/2K4Yzs1X5k0NyOhc/gu\nEPuHxoSXkp/jTJp//XMr9ha3eOXZaEza9dDieKTbPwguJXKrUn7vjfMgx11N\nn/OMv8w7QSK69ynrqPGWJgn9VjgR6bxxEkcTFBkZIkGi6XIJuT9BnKVCyzwS\nE7A1teZMtgtmoaHuKA+thZSDAay2gaRS3rcKL3I0jAUqRyihlsS7Od6B1YDy\nN4Cl+xxzy6RDV5a9UDwyUNY22Osmy4O6nCuru+rhF8DALcdfGFdxM1otX80l\nykLz2IAlGvy+aO4P/iV06eGQ+ngQ6htBTQr/u3ksViBYGgp5Tid1ShijHFE3\nk7s3581oTk7+I2oSLWAi+/4QgDO2JOJ+xry1n1GWVWs9WvHLN7ydZCpTQKAI\nAcwdUJ9Djc7fuy6ktFqPklhbYqfYe0zNU21AZ8jmtNQl4UI7xs0ctbFBuZvQ\nAnCdg7IlxLN+AUiUl/NWsv1/ZVx8ts4XBm+hw27LxOFkcBp5FHza1nvzXznY\nOno35/CSWvFNtYevT97fehnOn/F6DWwCPX8U9xDoWAPraVF7T0gYlPPT60NG\no7qK7hEJ5X/2v+RG3o95OWaacWW9HbsqjRbCBKZZOPO7DtqRB0rOG5mFZ46X\n0v5h8VdybHBZBKlN6XY32iCHWT9qhk2QJkoy2JkrticoY004hj0cIhN0v3rF\nJR5R\r\n=Nfwb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUqCeLjdhPuKjV9NTuE0TSGdeOYfuW/rCRcv3O3a3zkwIhANXcPzCQcYWluxLzU0eZiduNys5sAXzdtRT/dlBNLhZd"}]},"maintainers":[{"name":"aerogear-ci","email":"aerogear@redhat.com"},{"name":"aerogears","email":"aerogear@redhat.com"},{"name":"aliok","email":"aliok@apache.org"},{"name":"danielpassos","email":"daniel@passos.me"},{"name":"darahayes","email":"dara.s.hayes@gmail.com"},{"name":"lrossetti","email":"leonardo@goldark.com.br"},{"name":"matzew","email":"matzew@apache.org"},{"name":"scoady","email":"scoady@redhat.com"},{"name":"wtrocki","email":"wtrocki@redhat.com"}],"_npmUser":{"name":"aerogear-ci","email":"aerogear@redhat.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cordova-plugin-iroot_0.8.1-dev.4_1560761687539_0.8993564053862451"},"_hasShrinkwrap":false},"0.8.1-dev.5":{"name":"@aerogear/cordova-plugin-iroot","version":"0.8.1-dev.5","description":"Cordova Jailbreak/Root Detection Plugin for Apache Cordova","types":"./types/index.d.ts","scripts":{"release:validate":"./scripts/validateRelease.sh","release":"./scripts/publishRelease.sh"},"publishConfig":{"access":"public"},"cordova":{"id":"cordova-plugin-iroot","platforms":["ios","android"]},"keywords":["ecosystem:cordova","cordova-android","cordova-ios","cordova","jailbreak","jailbroken","cydia","detection","detector","root","rooted","rootBeer","android","ios","iroot","plugin"],"engines":[{"name":"cordova","version":">=6.0.0"}],"author":{"name":"Wuglyak Bolgoink","url":"info@cyberkatze.de"},"license":"MIT","bugs":{"url":"https://github.com/WuglyakBolgoink/cordova-plugin-iroot/issues"},"homepage":"https://github.com/WuglyakBolgoink/cordova-plugin-iroot#readme","repository":{"type":"git","url":"git+https://github.com/WuglyakBolgoink/cordova-plugin-iroot.git"},"readme":"[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/WuglyakBolgoink/cordova-plugin-iroot/master/LICENSE)\n[![Android](https://img.shields.io/badge/android-success-green.svg)](https://shields.io)\n[![iOS](https://img.shields.io/badge/iOS-success-green.svg)](https://shields.io)\n\n<p align=\"center\">\n  <img src=\"/assets/logo.png\">\n</p>\n\nCordova Jailbreak/Root Detection Plugin\n=======================================\n\nUse this plugin to add an extra layer of security for your app by detecting if the device was `root`ed (android) or `jailbreak`ed (iOS).\n\n## Install\n\n```\ncordova plugin add cordova-plugin-iroot --save\n```\n\n### Custom `Android` Install to prevent [False positives](https://github.com/scottyab/rootbeer#false-positives) checks\n\nYou can use `ENABLE_BUSYBOX_CHECK` variable to change the logic. By default is `true`.\n\n```\ncordova plugin add cordova-plugin-iroot --variable ENABLE_BUSYBOX_CHECK=false --save\n```\n\n## Usage in Javascript\n\n```\n// available => iOS + Android\nIRoot.isRooted(successCallback, failureCallback);\n\n// available => Android\nIRoot.isRootedRedBeer(successCallback, failureCallback);\n\n// available => Android\nIRoot.isRootedRedBeerWithoutBusyBoxCheck(successCallback, failureCallback);\n```\n\n- `successCallback(result:boolean)` is called with `true` if the device is Jailbroken/rooted, otherwise `false`.\n- `failureCallback(error:string)` is called if there was an error determining if the device is Jailbroken/rooted.\n\n## Info\n\nBased on:\n\n- **iOS**\n    - [cordova-plugin-jailbreak-detection](https://github.com/leecrossley/cordova-plugin-jailbreak-detection)\n    - [Shmoopi Anti-Piracy](https://github.com/Shmoopi/AntiPiracy)\n- **Android**\n    - [RootBeer](https://github.com/scottyab/rootbeer/blob/master/README.md)\n    - [cordova-plugin-root-detection](https://github.com/trykovyura/cordova-plugin-root-detection)\n\n## Demo ionic\n\nSee [comments](https://github.com/WuglyakBolgoink/cordova-plugin-iroot/issues/1).\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n## License\n\nMIT License\n\nCopyright (c) 2017 Wuglyak Bolgoink\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","readmeFilename":"README.md","gitHead":"267f23f74a15c14547c2f0fe64d94357969796c8","_id":"@aerogear/cordova-plugin-iroot@0.8.1-dev.5","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-og5WZt6BIBU6zaaeFF7vq3+ZJ0SCkgofPvFL8hpGBZnfzGGjMVaHYDJHDrHN2nCw9jBG7IkuPGYGCmTEurg6KQ==","shasum":"25a09f3edaf06b00540fd0de007a947b8b8b8d53","tarball":"https://registry.npmjs.org/@aerogear/cordova-plugin-iroot/-/cordova-plugin-iroot-0.8.1-dev.5.tgz","fileCount":20,"unpackedSize":72265,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdB1WHCRA9TVsSAnZWagAA0G0QAIk242OfZe0h68gpMn7q\nbcf9WTMzimFgI4nz0z4hLQcCPye00xik6xrNm8ftbLxNl0eTKneZM3AGd5EZ\ngaRAe3uSL5RoJc4Ts5pbv31Zo8NJ6Rdm9LwwwLIKjE9dhvsp3obuyTOpqzW0\n/idIAJnp360H1HpO2VCMgpTDNGQ7pB29+03acOOJkRi7+7t9I1CJCjIpnCgH\njjomZJTJhQm8xqPEeW78GgYl0f3QdSwoYWF4F2HelnvfCPQ6ZjX6CejzDl79\nKagtfuUmP6eSuqjz2mE2gA/waPvUyIkDnLndcmtbupShCRoqtiyo7F8rKOrR\nBs8JA9VmaBLXID9NqsYJamOshYE1SBzeQ8A9wjA1PI7NAIVYa8fxY0dIW9fI\nXPAcMVqCtExyCTQig93iXgvT6hBd2w4TKQTWicC0yXYFihqmjghjQzEoAYOe\nH4p0nwBFFaR4yKKaZMF7ZdNdwjxX50uBqnZyinyiZD3/qK5P1RF53m524Yc4\nzKzjpdLzLLHA3JL1367VqkP7FpujAYGammL9PG4Xilf5FRh7xQqutckT/3SI\nFlbART8z3cc9AAW49ekeiHSYSuCH60kLbLTYEzJGN+F5dl/lvZf4UOxM6Wva\n1uCca2jyYElfkOvJn1CWbEeINiGLixaqGpHR6tIeQtpFtm2fz4at1X6gOPzo\nmJrx\r\n=PUYI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDGjzq2jR6rrk/R90e64P6Xan6JnN+rB+8Syvf1JT7h1AiEAp6SH97vNS+GeVRN6fAWmHXGWI/vv8u6cNXdesJVyZ4g="}]},"maintainers":[{"name":"aerogear-ci","email":"aerogear@redhat.com"},{"name":"aerogears","email":"aerogear@redhat.com"},{"name":"aliok","email":"aliok@apache.org"},{"name":"danielpassos","email":"daniel@passos.me"},{"name":"darahayes","email":"dara.s.hayes@gmail.com"},{"name":"lrossetti","email":"leonardo@goldark.com.br"},{"name":"matzew","email":"matzew@apache.org"},{"name":"scoady","email":"scoady@redhat.com"},{"name":"wtrocki","email":"wtrocki@redhat.com"}],"_npmUser":{"name":"aerogear-ci","email":"aerogear@redhat.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cordova-plugin-iroot_0.8.1-dev.5_1560761734798_0.0594216329033177"},"_hasShrinkwrap":false},"0.8.1-dev.6":{"name":"@aerogear/cordova-plugin-iroot","version":"0.8.1-dev.6","description":"Cordova Jailbreak/Root Detection Plugin for Apache Cordova","types":"./types/index.d.ts","scripts":{"release:validate":"./scripts/validateRelease.sh","release":"./scripts/publishRelease.sh"},"publishConfig":{"access":"public"},"cordova":{"id":"cordova-plugin-iroot","platforms":["ios","android"]},"keywords":["ecosystem:cordova","cordova-android","cordova-ios","cordova","jailbreak","jailbroken","cydia","detection","detector","root","rooted","rootBeer","android","ios","iroot","plugin"],"engines":[{"name":"cordova","version":">=6.0.0"}],"author":{"name":"Wuglyak Bolgoink","url":"info@cyberkatze.de"},"license":"MIT","bugs":{"url":"https://github.com/WuglyakBolgoink/cordova-plugin-iroot/issues"},"homepage":"https://github.com/WuglyakBolgoink/cordova-plugin-iroot#readme","repository":{"type":"git","url":"git+https://github.com/WuglyakBolgoink/cordova-plugin-iroot.git"},"gitHead":"e83d899a8b2f52d97f2613c2434980eebd032420","readme":"[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/WuglyakBolgoink/cordova-plugin-iroot/master/LICENSE)\n[![Android](https://img.shields.io/badge/android-success-green.svg)](https://shields.io)\n[![iOS](https://img.shields.io/badge/iOS-success-green.svg)](https://shields.io)\n\n<p align=\"center\">\n  <img src=\"/assets/logo.png\">\n</p>\n\nCordova Jailbreak/Root Detection Plugin\n=======================================\n\nUse this plugin to add an extra layer of security for your app by detecting if the device was `root`ed (android) or `jailbreak`ed (iOS).\n\n## Install\n\n```\ncordova plugin add cordova-plugin-iroot --save\n```\n\n### Custom `Android` Install to prevent [False positives](https://github.com/scottyab/rootbeer#false-positives) checks\n\nYou can use `ENABLE_BUSYBOX_CHECK` variable to change the logic. By default is `true`.\n\n```\ncordova plugin add cordova-plugin-iroot --variable ENABLE_BUSYBOX_CHECK=false --save\n```\n\n## Usage in Javascript\n\n```\n// available => iOS + Android\nIRoot.isRooted(successCallback, failureCallback);\n\n// available => Android\nIRoot.isRootedRedBeer(successCallback, failureCallback);\n\n// available => Android\nIRoot.isRootedRedBeerWithoutBusyBoxCheck(successCallback, failureCallback);\n```\n\n- `successCallback(result:boolean)` is called with `true` if the device is Jailbroken/rooted, otherwise `false`.\n- `failureCallback(error:string)` is called if there was an error determining if the device is Jailbroken/rooted.\n\n## Info\n\nBased on:\n\n- **iOS**\n    - [cordova-plugin-jailbreak-detection](https://github.com/leecrossley/cordova-plugin-jailbreak-detection)\n    - [Shmoopi Anti-Piracy](https://github.com/Shmoopi/AntiPiracy)\n- **Android**\n    - [RootBeer](https://github.com/scottyab/rootbeer/blob/master/README.md)\n    - [cordova-plugin-root-detection](https://github.com/trykovyura/cordova-plugin-root-detection)\n\n## Demo ionic\n\nSee [comments](https://github.com/WuglyakBolgoink/cordova-plugin-iroot/issues/1).\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n## License\n\nMIT License\n\nCopyright (c) 2017 Wuglyak Bolgoink\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","readmeFilename":"README.md","_id":"@aerogear/cordova-plugin-iroot@0.8.1-dev.6","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-7aiwe/PpxGD7ISCS17f1FH47a/jomFuF60EulDqvl6nMnRe5LOxE/KowqHsQV/eO090tVRITeRfVMSJkz272vQ==","shasum":"7a17ec13d1eb74e533c2d56892534434f3ef7907","tarball":"https://registry.npmjs.org/@aerogear/cordova-plugin-iroot/-/cordova-plugin-iroot-0.8.1-dev.6.tgz","fileCount":20,"unpackedSize":72265,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdB1ZJCRA9TVsSAnZWagAAjbwP/iTDzB2UHB+a8EAZAz1E\nDqy0rD0W5gOL5cbHYtc9xs1Hw4ymyIW9dSm79eRobGfr3ldnNrJWHgpVp5fP\ngfviZDeWRE0JbLTOZFwRPLgE+OPd3ap11TA4olhSls4lPzZaAQ5KC/oO4Inf\n7t21CmuxCwA3T4YeUw+/5dOF75sh/C9USO3n5mPmmHC6P2xNN8+jg4jspxus\nkJXJCiSr95VNgWV73GABHXUHb7owhdjmQ51/uDch3nmWffaJgdkFfDQJz+Fu\nOpIhIxEja/K4YqKwlBCPUakvJ9t8wRCbS31v8dd6TUIgKjuKJ9h1F+yK8XBp\nGFoTA1wiUWwKCV6Lu6wdEfDKwZ0dzhZ7hPKXGtbNG7ZeIZzV1VVmgAyuGNvE\nor9SO9eUWFRKTUHoPeC7x0A62lx8O+1+aMdFV96TTtiecrbJTeGzFIfEcqP+\nae7H4W521jb9+qN1nL/mpw+D/BZyk3zxFYQUst5HL45wFMqUbxWQ+1E34nM8\npCN1pl7U2VsryNjQjIA4XMbAda5Ox4y4ihviWgHhSWgy2kZNufGbN/4lnw+p\nToYOlcR88nK7p4r99pLIXbgIwh2pAq5+994MhcDCVk9DM1ju1YrMR1m2CcUZ\n7O+Lecj6p7BFl0W7jPr46T/pcSeSZ2F/EX9VX2ZDHQT+eXBeX531L0rrWedE\nRrcv\r\n=M3eX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA08I4ivoUn+x1I0vFmvLsgYvzM6OmPVeCIM476ruPcYAiAd0otWrNkE4Z9w8PQr/chE0lBexpCQJeKK8+5V5y5sPw=="}]},"maintainers":[{"name":"aerogear-ci","email":"aerogear@redhat.com"},{"name":"aerogears","email":"aerogear@redhat.com"},{"name":"aliok","email":"aliok@apache.org"},{"name":"danielpassos","email":"daniel@passos.me"},{"name":"darahayes","email":"dara.s.hayes@gmail.com"},{"name":"lrossetti","email":"leonardo@goldark.com.br"},{"name":"matzew","email":"matzew@apache.org"},{"name":"scoady","email":"scoady@redhat.com"},{"name":"wtrocki","email":"wtrocki@redhat.com"}],"_npmUser":{"name":"aerogear-ci","email":"aerogear@redhat.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cordova-plugin-iroot_0.8.1-dev.6_1560761928606_0.7868510487255822"},"_hasShrinkwrap":false},"0.8.1":{"name":"@aerogear/cordova-plugin-iroot","version":"0.8.1","description":"Cordova Jailbreak/Root Detection Plugin for Apache Cordova","types":"./types/index.d.ts","scripts":{"release:validate":"./validateRelease.sh","release":"./publishRelease.sh"},"publishConfig":{"access":"public"},"cordova":{"id":"cordova-plugin-iroot","platforms":["ios","android"]},"keywords":["ecosystem:cordova","cordova-android","cordova-ios","cordova","jailbreak","jailbroken","cydia","detection","detector","root","rooted","rootBeer","android","ios","iroot","plugin"],"engines":[{"name":"cordova","version":">=6.0.0"}],"author":{"name":"Wuglyak Bolgoink","url":"info@cyberkatze.de"},"license":"MIT","bugs":{"url":"https://github.com/WuglyakBolgoink/cordova-plugin-iroot/issues"},"homepage":"https://github.com/WuglyakBolgoink/cordova-plugin-iroot#readme","repository":{"type":"git","url":"git+https://github.com/WuglyakBolgoink/cordova-plugin-iroot.git"},"gitHead":"97802b6192bcace194ee6b6399eb167c0be2bd99","_id":"@aerogear/cordova-plugin-iroot@0.8.1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-Az4l+2dikvLddVRg3JYzeMTLNSlcju9cFwZ7f1QKaGXaRbsvCRjCDQg8hcR8TTU11DCSe/9wG8LjproLcHbozw==","shasum":"ad6e5c67887f949b709d59d2497ad872cba29b8e","tarball":"https://registry.npmjs.org/@aerogear/cordova-plugin-iroot/-/cordova-plugin-iroot-0.8.1.tgz","fileCount":22,"unpackedSize":74094,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCgmwCRA9TVsSAnZWagAACQEP/11FyxpA2Evrd206r98u\ne1QNhW6GnbGOyYmUfVWlb6CkBRk4aYUCptIaNwr90HwTK2QrKrhKvjBb8jlH\nijvsC9Wj5CiAVrj/zTQN5Tkdu7gFwO8wdjz4TpJ8B+WdBD4WhmiqzSOgNpIy\n3/ohI6/M6gKIBeta8fprecv6/IC2qdIJrbnAbRoM+ZVn9X+VAugk5R1bwkEL\nc7jd7nufLM4xLFIiHIa01G9MNNtxe+HCgII8G0lhYdUhH9DyyP6NLl7zlTTF\nnZ6dWquPoW4LisRF1vC5de0LNT+YkESMsVwpe105aLJtZIfJ1ifIjKVCVa79\nlgC1Tl5oOijjBUreGXcgMqCnayWZi91GFGGcmyXc48Wtnuwht1JbRGDf1k7x\nCG2wYLX/a26ByAwtWyf+8HaJn/2VyckXsAompsTtTBD7xml8DB/f6i0jA3qZ\nVHtBMKCzLLDXlz32dPjkC2O7FpfK/iEt69rXlLCz2dUSfORAMualvRD2w945\n/A/7PWNxWudRv/6PCVGxsGoZ5yp9LkjCgpAJYeBg+Pov+VFIRpvPV1Xqpw2Q\nKxxu5XVTHDDS54SFVAwdUmMjNKLohzFaqzKP0kAxk8ylxlg0BNgpgmqFIqc0\nx4mnT/eDtdzZDh7Qp6wCGmk9vVP70W6D7j5E+juJDURJP2S9rMqPeDqKOqxm\njQ6C\r\n=qky+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIALUciUAP/5mc1Hs0xAckVwtN5IHJ4O8f+uarss7uGD8AiEA3APxB7idGGyX52L6TuUypnBPJlwppJ5SFDoC72ULdrw="}]},"maintainers":[{"name":"aerogear-ci","email":"aerogear@redhat.com"},{"name":"aerogears","email":"aerogear@redhat.com"},{"name":"aliok","email":"aliok@apache.org"},{"name":"danielpassos","email":"daniel@passos.me"},{"name":"darahayes","email":"dara.s.hayes@gmail.com"},{"name":"lrossetti","email":"leonardo@goldark.com.br"},{"name":"matzew","email":"matzew@apache.org"},{"name":"scoady","email":"scoady@redhat.com"},{"name":"wtrocki","email":"wtrocki@redhat.com"}],"_npmUser":{"name":"aerogear-ci","email":"aerogear@redhat.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cordova-plugin-iroot_0.8.1_1560938927398_0.362739923523713"},"_hasShrinkwrap":false}},"time":{"created":"2019-06-17T08:43:31.900Z","0.8.1-dev.1":"2019-06-17T08:43:32.099Z","modified":"2022-06-15T15:07:15.878Z","0.8.1-dev.2":"2019-06-17T08:48:44.245Z","0.8.1-dev.3":"2019-06-17T08:51:25.992Z","0.8.1-dev.4":"2019-06-17T08:54:47.648Z","0.8.1-dev.5":"2019-06-17T08:55:34.936Z","0.8.1-dev.6":"2019-06-17T08:58:48.732Z","0.8.1":"2019-06-19T10:08:47.556Z"},"maintainers":[{"email":"aerogear@redhat.com","name":"aerogears"},{"email":"wtrocki@redhat.com","name":"wtrocki"},{"email":"matzew@apache.org","name":"matzew"},{"email":"mziccard@redhat.com","name":"aerogear-ci"},{"email":"massimiliano.ziccardi@gmail.com","name":"ziccardi"},{"email":"ephelan@redhat.com","name":"ephelan"}],"description":"Cordova Jailbreak/Root Detection Plugin for Apache Cordova","homepage":"https://github.com/WuglyakBolgoink/cordova-plugin-iroot#readme","keywords":["ecosystem:cordova","cordova-android","cordova-ios","cordova","jailbreak","jailbroken","cydia","detection","detector","root","rooted","rootBeer","android","ios","iroot","plugin"],"repository":{"type":"git","url":"git+https://github.com/WuglyakBolgoink/cordova-plugin-iroot.git"},"author":{"name":"Wuglyak Bolgoink","url":"info@cyberkatze.de"},"bugs":{"url":"https://github.com/WuglyakBolgoink/cordova-plugin-iroot/issues"},"license":"MIT","readme":"[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/WuglyakBolgoink/cordova-plugin-iroot/master/LICENSE)\n[![Android](https://img.shields.io/badge/android-success-green.svg)](https://shields.io)\n[![iOS](https://img.shields.io/badge/iOS-success-green.svg)](https://shields.io)\n\n<p align=\"center\">\n  <img src=\"/assets/logo.png\">\n</p>\n\nCordova Jailbreak/Root Detection Plugin\n=======================================\n\nUse this plugin to add an extra layer of security for your app by detecting if the device was `root`ed (android) or `jailbreak`ed (iOS).\n\n## Install\n\n```\ncordova plugin add cordova-plugin-iroot --save\n```\n\n### Custom `Android` Install to prevent [False positives](https://github.com/scottyab/rootbeer#false-positives) checks\n\nYou can use `ENABLE_BUSYBOX_CHECK` variable to change the logic. By default is `true`.\n\n```\ncordova plugin add cordova-plugin-iroot --variable ENABLE_BUSYBOX_CHECK=false --save\n```\n\n## Usage in Javascript\n\n```\n// available => iOS + Android\nIRoot.isRooted(successCallback, failureCallback);\n\n// available => Android\nIRoot.isRootedRedBeer(successCallback, failureCallback);\n\n// available => Android\nIRoot.isRootedRedBeerWithoutBusyBoxCheck(successCallback, failureCallback);\n```\n\n- `successCallback(result:boolean)` is called with `true` if the device is Jailbroken/rooted, otherwise `false`.\n- `failureCallback(error:string)` is called if there was an error determining if the device is Jailbroken/rooted.\n\n## Info\n\nBased on:\n\n- **iOS**\n    - [cordova-plugin-jailbreak-detection](https://github.com/leecrossley/cordova-plugin-jailbreak-detection)\n    - [Shmoopi Anti-Piracy](https://github.com/Shmoopi/AntiPiracy)\n- **Android**\n    - [RootBeer](https://github.com/scottyab/rootbeer/blob/master/README.md)\n    - [cordova-plugin-root-detection](https://github.com/trykovyura/cordova-plugin-root-detection)\n\n## Demo ionic\n\nSee [comments](https://github.com/WuglyakBolgoink/cordova-plugin-iroot/issues/1).\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n## License\n\nMIT License\n\nCopyright (c) 2017 Wuglyak Bolgoink\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n","readmeFilename":"README.md"}