Summary: This diff moves a lot of stuff from the client to the server. This diff is fairly large, as a lot of concept closely relate, although some things have split off to the earlier diffs in the stack, or are still to follow (like making intern requests). This diff primarily moves reading and storing settings and GKs from client to server (both flipper and launcher settings). This means that settings are no longer persisted by Redux (which only exists on client). Most other changes are fallout from that. For now settings are just one big object, although we might need to separate settings that are only make sense in an Electron context. For example launcher settings. Reviewed By: passy, aigoncharov Differential Revision: D32498649 fbshipit-source-id: d842faf7a7f03774b621c7656e53a9127afc6192
775 B
775 B
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