Files
flipper/desktop/flipper-dump
Lorenzo Blasa 17cfa0e571 Session Id moved to server config
Summary:
Session Id should be shared between client and server, but it was defined deep in the client (redux store).

The proposed solution presented below is to move the session id to the server configuration. By doing this, it becomes available to both server and client VERY early in the application life-cycle for both Electron and non-Electron builds.

Reviewed By: LukeDefeo

Differential Revision: D48520367

fbshipit-source-id: ca959b27ab18b1a2e4cd2fac1d28545664f1b514
2023-08-22 05:16:20 -07:00
..
2023-08-22 05:16:20 -07:00
2023-08-21 03:03:30 -07:00
2021-12-17 07:36:07 -08:00

flipper-dump

Stand alone Flipper command, that uses flipper-server-core to connect to apps and dump all incoming messages.

To get started, run yarn install in the desktop/ folder once.

This package is currently a proof of concept and can be used like:

yarn start --device='iPhone 12' --client='Instagram' --plugin='AnalyticsLogging'

Or to capture all output to a file (meta messages will be printed on STDERR):

yarn --silent start --device='iPhone 12' --client='Instagram' --plugin='AnalyticsLogging' > out.txt

Future features:

  • Package so that it can be run using npx
  • Support filter & transformation functions
  • See TODOs in code
  • Support better configuration
  • Custom formatting
  • [FB] Support Certificate Exchange clients