0.1.4 • Published 3 years ago

capacitor-adb v0.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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; }>
ParamType
options{ command: string; }

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


executeAdbCommand(...)

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

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


getConnectIpPort(...)

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

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


getPairipPort(...)

getPairipPort(options: { timeout: number; }) => Promise<{ host: string; port: string; wifidebugenabled: boolean; }>
ParamType
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; }>


0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago