Summary: The sessionId is just uuid() which is held by the config. This changes moves that to a single place. This achieves two goals: 1) Makes it very clear where is created and what value it holds 2) It allows us to know the sessionId even before the config is available. This becomes useful as we can start logging to Scribe earlier. Reviewed By: passy Differential Revision: D48601829 fbshipit-source-id: c54d86d76f0b58d2b59f8dd1c45d7f345c4a84c3
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