Simple rooted/jailbroken device detection
We have a requirement to make some kind of attempt to block our app from jailbroken or rooted devices for security reasons.
This obviously can't be bullet proof, but some basic FS access checks, and searches for common rooting packages get you most of the way there.
There are already react-native libraries for this, such as https://github.com/beast/react-native-isDeviceRooted or https://github.com/GantMan/jail-monkey.
marked this post as