flipper-headless-demo
v0.273.0
Published
Headless demo Flipper desktop plugin
Downloads
192
Readme
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
yarn
from this repo to install dependencies - Start Flipper Server: from
desktop
folder runyarn flipper-server
- Start an Android device
- Run
yarn start
from 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-demo
plugin - It sends
increment
command to the plugin