@thein-naing-oo/check-root
v1.0.0
Published
A plugin for checking device's root status
Downloads
1
Maintainers
Readme
check-root
A plugin for checking device's root status
Install
npm install check-root
npx cap sync
API
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>
| Param | Type |
| ------------- | ------------------------------- |
| options
| { value: string; } |
Returns: Promise<{ value: string; }>
checkRootStatus(...)
checkRootStatus(options: null) => Promise<{ isRooted: boolean; }>
| Param | Type |
| ------------- | ----------------- |
| options
| null |
Returns: Promise<{ isRooted: boolean; }>