Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1.82 KB

share-flipper-data.mdx

File metadata and controls

31 lines (19 loc) · 1.82 KB
id title
share-flipper-data
Share Flipper Data

import useBaseUrl from '@docusaurus/useBaseUrl';

Flipper's diagnostic and profiling data is often used for debugging. However, sometimes you can't solve the problem on your own and need some help from your colleagues. In such cases, rather than just sending screenshots, you can share the data you are seeing in Flipper (such as logs, layout hierarchy, network requests, and other relevant objects) with your colleague, which helps them to get the bigger picture of why something doesn't work as expected.

Export Flipper data

To export Flipper data in a .flipper file, take the following steps:

  1. An active device needs to be connected to Flipper, so ensure you've selected the device you want to export in Flipper's device dropdown.

    <img alt="selectedDevice" src={useBaseUrl("img/shareFlipperData/selectedDevice.png")} />

  2. Select the 'More' button on the toolbar, then 'Export Flipper file' and save it where you like.

The exported data can now be shared with your colleagues.

:::caution Bear in mind that the file will include all the data available to the plugins (such as access tokens in recorded network requests)! :::

Import Flipper data

Opening a .flipper file imports all the data and allows you to use Flipper as if the device was connected. However, the device is marked as 'offline' (see the following screenshot). Since the device is not present, this means that while you are able to see all the data, you can't interact with it (for example, changing a view's background color).

<img alt="importedDevice" src={useBaseUrl("img/shareFlipperData/importedDevice.png")} />

For advanced users, Flipper also provides a URL handler to import data. For example, linking to flipper://import/?url={LINK_TO_FLIPPER_FILE} will launch Flipper and display the downloaded data.