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

Function clearRuntimeHintsFromApp

src/daemon/runtime-hints.ts:62–77  ·  view source on GitHub ↗
(params: {
  device: DeviceInfo;
  appId?: string;
})

Source from the content-addressed store, hash-verified

60}
61
62export async function clearRuntimeHintsFromApp(params: {
63 device: DeviceInfo;
64 appId?: string;
65}): Promise<void> {
66 const { device, appId } = params;
67 if (!appId) return;
68
69 if (device.platform === 'android') {
70 await clearAndroidRuntimeHints(device, appId);
71 return;
72 }
73
74 if (isIosFamily(device) && device.kind === 'simulator') {
75 await clearIosSimulatorRuntimeHints(device, appId);
76 }
77}
78
79async function applyAndroidRuntimeHints(
80 device: DeviceInfo,

Callers 4

clearRuntimeCommandFunction · 0.90
handleCloseCommandFunction · 0.90

Calls 3

isIosFamilyFunction · 0.90
clearAndroidRuntimeHintsFunction · 0.85

Tested by

no test coverage detected