Get files from Flipper folder for every app on an iOS device
Summary: Design doc: https://docs.google.com/document/d/1HLCFl46RfqG0o1mSt8SWrwf_HMfOCRg_oENioc1rkvQ/edit# Fetch list of files in the `/sonar` folder on iOS devices and fetch all the files Reviewed By: passy Differential Revision: D40548410 fbshipit-source-id: d38cbbb1e3b5579c13f30777233e3caf7b8c9b34
This commit is contained in:
committed by
Facebook GitHub Bot
parent
3c8ebf105a
commit
821bf2b5b7
@@ -605,7 +605,11 @@ export class FlipperServerImpl implements FlipperServer {
|
||||
private async fetchDebugLogs() {
|
||||
const debugDataForEachDevice = await Promise.all(
|
||||
[...this.devices.values()]
|
||||
.filter((device) => device.info.os === 'Android')
|
||||
.filter(
|
||||
(device) =>
|
||||
device.connected &&
|
||||
(device.info.os === 'Android' || device.info.os === 'iOS'),
|
||||
)
|
||||
.map((device) =>
|
||||
(device as unknown as DebuggableDevice).readFlipperFolderForAllApps(),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user