You develop an application by Native programming (Java, Kotlin, ObjectC, Swift) , also Cross-platform (Flutter, React Native,...) And you need check root or jailbreak status. Have many methods to check it. After i will list some method that i know:
- Check by access permission with special path, or file. With android, example: "/system/bin/su", "/system/xbin/su", "/data/local/xbin/su", "/data/local/bin/su", ... With iOS: "/usr/sbin/sshd", "/private/var/lib/apt/"
- Check exist root app (after rooted or jailbreak): Cydia.app with iOS and Superuser.apk with android If an system be content with two conditions upper, you can return rooted (jailbreak)
Top comments (0)