npm i --save @dieover/jail-breaker
- Version: 1.0.1
- GitHub: https://github.com/DieOver/nativescript-plugins-new
- NPM: https://www.npmjs.com/package/%40dieover%2Fjail-breaker
- Downloads:
- Last Day: 0
- Last Week: 0
- Last Month: 0
@dieover/jail-breaker
npm install @dieover/jail-breaker
Usage
This plugins use a rootbeer lib 0.1.0 of scottyab for Android to check if the Android is Rooted and for iOS always return false
import { JailBreaker } from '@dieover/jail-breaker';
...
isRooted(): void {
if (JailBreaker.isRooted()) {
// it's Rooted
} else {
// it's not Rooted
}
}
License
Apache License Version 2.0