Summary: Make headless-demo executable and configure packaging Reviewed By: passy Differential Revision: D36590919 fbshipit-source-id: 2c192a712e38888bc8b1f1caa3e55075c24ed14e
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