Rooted device check in ionic v3 app

we are using the following plugins to check jailbreak / rooting of iOS and ANdroid devices respectively


cordova plugin add cordova-plugin-root-detection

But unfortunately it does not detect all rooted device.

we use ionic 3.19 with cordova 7.0

What is the recommendation and mostly used solution for this ?


I think this is a fool’s errand. Once a device is jailbroken, all bets are off. Unless an environment chooses to provide a clue, an app can’t even know if it’s running on a real device or an emulator.

But then for financial apps, Security testing is necessary and a very important point is that the app shouldn’t run on rooted android and jailbroken iOS devices. Any solution to this?