I am developing a mobile app using ionic2. I need to check if android device is rooted. I did google and found the this plugin cordova-plugin-root-detection but it does not work for me.
I added this plugin in my project using following command as explain in above link
cordova plugin add https://github.com/trykovyura/cordova-plugin-root-detection.git
after adding this plugin i tried to import it but it does not import, saying no module present. I did force quit my project and ran npm insatll and opened my project again but error still present.
Calling this does not work as module is not present.
Any reference of plugin or any suggestion will be helpful.