0.1.4 • Published 2 years ago

capacitor-adb v0.1.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 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

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago