(params: {
device: DeviceInfo;
appId?: string;
})
| 60 | } |
| 61 | |
| 62 | export 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 | |
| 79 | async function applyAndroidRuntimeHints( |
| 80 | device: DeviceInfo, |
no test coverage detected