0.1.4 • Published 12 months ago

capacitor-adb v0.1.4

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

12 months ago

0.1.3

12 months ago

0.1.2

12 months ago

0.1.1

12 months ago

0.1.0

12 months ago

0.0.9

12 months ago

0.0.8

12 months ago

0.0.7

12 months ago

0.0.6

12 months ago

0.0.5

12 months ago

0.0.4

12 months ago

0.0.3

12 months ago

0.0.2

12 months ago

0.0.1

12 months ago