android shell capacitor plugin. you need to have adb binary in your app
npm install capacitor-shell
npx cap sync
executeNormalCommand(options: { command: string; }) => Promise<{ output: string; exitCode: number; errorOutput: string; }>
Param | Type |
---|---|
options |
{ command: string; } |
Returns: Promise<{ output: string; exitCode: number; errorOutput: string; }>
executeAdbCommand(options: { command: string; }) => Promise<{ output: string; exitCode: number; errorOutput: string; }>
Param | Type |
---|---|
options |
{ command: string; } |
Returns: Promise<{ output: string; exitCode: number; errorOutput: string; }>