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; }>