How to detect whether device is rooted (android) or jailbroken (iOS)?


I'm working on an app that shows the user some specs of his device. For example, RAM, disk size etc.

Now I want to show whether the device is rooted or not in case of android device. And whether the device is jailbroken or not in case of devices with iOS.

How to achieve this? Let me tell you that I'm not familiar with native iOS development. So it would be hard for me to write plugin.

EDIT I want the solution in Unity3d. And I want to handle android and iOS devices. That's why it's not a duplicate question as someone mentioned in the comments.

Show source
| android   | ios   | unity3d   | rooted   2016-12-23 11:12 1 Answers

Answers ( 1 )

  1. 2016-12-25 15:12

    All i can do is to give you a reference.

    Basicaly, the simplest method, would be to pay 5 bucks for a detection script in the asset store.

◀ Go back