rn-jail-break
v0.1.6
Published
this will detect rooted or jailbreak device
Downloads
3
Maintainers
Readme
rn-jail-break
this will detech rooted or jailbreak device
Installation
npm install rn-jail-break
Usage
import { checkForRootedOrJailBreak } from 'rn-jail-break';
// ...
//checkForSimulator parameter is optional and by-default it's ture
const isCorrectDevice = await checkForRootedOrJailBreak(true);
Troubleshooting
In case ios is throwing error 'checkIsSimulator' trying access property of null
1.) open your project in xcode
2.) add new swift file with any name
3.) Create swift bridging header
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library