Rooted device check in ionic v3 app


#1

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

add https://github.com/leecrossley/cordova-plugin-jailbreak-detection.git

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 ?

Thanks


#2

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.