shadam
shadam

Reputation: 69

root/jailbreak detection for ionic hybrid mobile app

I'm working on ionic mobile app with Angularjs, and we have added root detector by using cordova-plugin-root-detection and a jailbreak detector by using cordova-plugin-jailbreak-detection. But now for more security, we need to add another root detectors.

Is there any plugins / way to do it rather than the plugins that we have already used & mentioned above?

Thanks.

Upvotes: 1

Views: 9122

Answers (2)

Aniket Pharale
Aniket Pharale

Reputation: 21

You can use the following plugin to check if device is rooted or not https://github.com/dpa99c/cordova-diagnostic-plugin#isdevicerooted

Upvotes: 0

Sujit Kumar Singh
Sujit Kumar Singh

Reputation: 1088

If you want to check for both Android and iOS, use cordova-plugin-iroot.

If you want to check deeply inside Android device you can(I will suggest to) add additional plugin cordova-plugin-android-rootbeer. It will be better to use isRootedWithoutBusyBoxCheck function present in this plugin.

Later one doesn't catches bypass done by Magisk. This has been solved in original plugin Rootbeer. This should be soon availalble in it too.

Both plugins mentioned above utilizes other plugins and improvements being done constantly in them.

Upvotes: 2

Related Questions