Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 1.3 KB

README.md

File metadata and controls

53 lines (34 loc) · 1.3 KB

capacitor-shell

android shell capacitor plugin. you need to have adb binary in your app

Install

npm install capacitor-shell
npx cap sync

API

executeNormalCommand(...)

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(...)

executeAdbCommand(options: { command: string; }) => Promise<{ output: string; exitCode: number; errorOutput: string; }>
Param Type
options { command: string; }

Returns: Promise<{ output: string; exitCode: number; errorOutput: string; }>