Summary: Restyle of Flipper docs, including spelling and grammar checks, link checks, and structure (where relevant). Reviewed By: nikoant Differential Revision: D35552028 fbshipit-source-id: f7b0079944ff788c0b7a5a13be1585df398cdd3c
36 lines
1.8 KiB
Plaintext
36 lines
1.8 KiB
Plaintext
---
|
|
id: share-flipper-data
|
|
title: 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
|
|
|
|
:::note
|
|
You can export Flipper's data in a `.flipper` file.
|
|
:::
|
|
|
|
To export Flipper data, 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. From the Menu Bar, select 'File' → 'Export"' then save it wherever 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.
|