Summary: Next steps: 1. Refactor it TS for consistency 2. Remove it in favor of tic-tac-toe integration Reviewed By: mweststrate Differential Revision: D36102002 fbshipit-source-id: 7dc930f67bed636159a2ec433d7405ab6ee09f97
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
- Run
yarnfrom this repo to install dependencies - Start Flipper Server: from
desktopfolder runyarn flipper-server - Start an Android device
- Run
yarn startfrom this repo
What happens under the hood
- This script connects to Flipper via WebSockets
- It fetches a list of devices
- It fetches a list of available headless plugins for the Android device
- It activates
headless-demoplugin - It sends
incrementcommand to the plugin