MCPcopy Index your code
hub / github.com/callstack/agent-device / backAndroid

Function backAndroid

src/platforms/android/input-actions.ts:42–44  ·  view source on GitHub ↗
(device: DeviceInfo)

Source from the content-addressed store, hash-verified

40}
41
42export async function backAndroid(device: DeviceInfo): Promise<void> {
43 await runAndroidAdb(device, ['shell', 'input', 'keyevent', '4']);
44}
45
46export async function homeAndroid(device: DeviceInfo): Promise<void> {
47 await runAndroidAdb(device, ['shell', 'input', 'keyevent', '3']);

Callers 2

createAndroidInteractorFunction · 0.90
handleAndroidAlertActionFunction · 0.90

Calls 1

runAndroidAdbFunction · 0.90

Tested by

no test coverage detected