From be5c76d27ca0ef11061b8ce62ad14674611d6c3f Mon Sep 17 00:00:00 2001 From: John Knox Date: Thu, 19 Mar 2020 14:26:11 -0700 Subject: [PATCH] Disable logs plugin for physical iOS devices Summary: This has never worked due to historic problems with idb log: https://fb.workplace.com/groups/idb.users/permalink/875711589527983/ It sounds like they have been fixed though, so I'll look into getting it going. But for now, disabling it until it's working to hide a broken experience. Reviewed By: passy Differential Revision: D20534205 fbshipit-source-id: 3a39c9930fa195562d946bcfe9fd3388e3329be3 --- desktop/plugins/logs/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/desktop/plugins/logs/index.tsx b/desktop/plugins/logs/index.tsx index 0501d8c77..405683f3a 100644 --- a/desktop/plugins/logs/index.tsx +++ b/desktop/plugins/logs/index.tsx @@ -396,7 +396,9 @@ export default class LogTable extends FlipperDevicePlugin< static supportsDevice(device: Device) { return ( - device.os === 'iOS' || device.os === 'Android' || device.os === 'Metro' + device.os === 'Android' || + device.os === 'Metro' || + (device.os === 'iOS' && device.deviceType !== 'physical') ); }