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.
To export Flipper data in a .flipper
file, take the following steps:
-
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")} />
-
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)! :::
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.