capacitor-adb
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

capacitor-shell

android shell capacitor plugin

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


getConnectIpPort(...)

getConnectIpPort(options: { timeout: number; }) => Promise<{ host: string; port: string; wifidebugenabled: boolean; }>
Param Type
options { timeout: number; }

Returns: Promise<{ host: string; port: string; wifidebugenabled: boolean; }>


getPairipPort(...)

getPairipPort(options: { timeout: number; }) => Promise<{ host: string; port: string; wifidebugenabled: boolean; }>
Param Type
options { timeout: number; }

Returns: Promise<{ host: string; port: string; wifidebugenabled: boolean; }>


wifidebuggingenabled()

wifidebuggingenabled() => Promise<{ enabled: boolean; }>

Returns: Promise<{ enabled: boolean; }>


usbdebuggingenabled()

usbdebuggingenabled() => Promise<{ enabled: boolean; }>

Returns: Promise<{ enabled: boolean; }>


getandroidversion()

getandroidversion() => Promise<{ version: string; }>

Returns: Promise<{ version: string; }>


Package Sidebar

Install

npm i capacitor-adb

Weekly Downloads

0

Version

0.1.4

License

MIT

Unpacked Size

31.7 kB

Total Files

20

Last publish

Collaborators

  • legendarythedev