https://github.com/m1ga/ti.rootcheck
Root check module for Titanium
https://github.com/m1ga/ti.rootcheck
android ios titanium-module
Last synced: about 1 year ago
JSON representation
Root check module for Titanium
- Host: GitHub
- URL: https://github.com/m1ga/ti.rootcheck
- Owner: m1ga
- License: mit
- Created: 2022-11-10T17:25:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-01T21:08:12.000Z (about 2 years ago)
- Last Synced: 2025-03-29T01:12:46.160Z (about 1 year ago)
- Topics: android, ios, titanium-module
- Language: Swift
- Homepage:
- Size: 68.4 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Root check module for Titanium
Simple way to check for root on your device.
Uses https://github.com/scottyab/rootbeer
```js
import TiRootCheck from 'ti.rootcheck';
if (OS_ANDROID) {
console.log(rootCheck.isRooted());
} else {
console.log(rootCheck.isRooted);
}
```
## License
MIT
## Author
* Android: Michael Gangolf
* iOS: [Hans Knöchel](https://github.com/hansemannn)