Files
flipper/desktop/examples/headless-demo
Pascal Hartig 160b05a5bd Bump deps
Summary:
This updates minor and patch level dependencies. Frustratingly, I had to revert a bunch
of changes in that version range that still caused incompatibilities and test failures.

If I find time, I'll dig a bit deeper.

Reviewed By: ivanmisuno

Differential Revision: D48433210

fbshipit-source-id: 9ab12e774c1992d4f22cc1428d34f102ce820b75
2023-08-21 03:03:30 -07:00
..
2023-08-21 03:03:30 -07:00

headless-demo

Experimental feature!

Flipper can run plugins in a headless mode - expose their API over the wire. This is a simple example of how it might look like.

Quick start

  1. Run yarn from this repo to install dependencies
  2. Start Flipper Server: from desktop folder run yarn flipper-server
  3. Start an Android device
  4. Run yarn start from this repo

What happens under the hood

  1. This script connects to Flipper via WebSockets
  2. It fetches a list of devices
  3. It fetches a list of available headless plugins for the Android device
  4. It activates headless-demo plugin
  5. It sends increment command to the plugin