Support Installation for physical device

Summary: This diff enables the installation for iOS simulators. This also fixes the error view created when there is an error. Right now there is a bug on my machine where idb doesn't detect my physical device. But once it is detected, it will work.

Reviewed By: mweststrate

Differential Revision: D22137831

fbshipit-source-id: b6d6f77318c6baef78c35af73db3969b7dd1b907
This commit is contained in:
Pritesh Nandgaonkar
2020-06-22 15:56:40 -07:00
committed by Facebook GitHub Bot
parent 2d9d2d4b1a
commit d4680eead9
4 changed files with 10 additions and 3 deletions

View File

@@ -107,7 +107,7 @@ async function pull(
);
}
async function checkIdbIsInstalled(idbPath: string): Promise<void> {
export async function checkIdbIsInstalled(idbPath: string): Promise<void> {
const isInstalled = await isAvailable(idbPath);
if (!isInstalled) {
throw new Error(