We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3f345a commit 7ff9db3Copy full SHA for 7ff9db3
src/interceptors/android/adb-commands.ts
@@ -78,6 +78,8 @@ export const getConnectedDevices = batchCalls(async (adbClient: adb.AdbClient) =
78
});
79
80
async function waitUntilAvailable(adbClient: adb.AdbClient, deviceId: string, tries: number) {
81
+ delay(50);
82
+
83
while (tries > 0 && !(await getConnectedDevices(adbClient)).includes(deviceId)) {
84
tries = tries - 1;
85
await delay(500);
0 commit comments