MCPcopy Create free account
hub / github.com/expo/expo / startActivityAsync

Function startActivityAsync

tools/src/AndroidDevice.ts:36–44  ·  view source on GitHub ↗
({
  device,
  activity,
}: {
  device: AndroidDeviceId;
  activity: string;
})

Source from the content-addressed store, hash-verified

34}
35
36export async function startActivityAsync({
37 device,
38 activity,
39}: {
40 device: AndroidDeviceId;
41 activity: string;
42}): Promise<void> {
43 await spawnAsync('adb', ['-s', device, 'shell', 'am', 'start', '-n', activity]);
44}

Callers

nothing calls this directly

Calls 1

spawnAsyncFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…