launch_dev_client
Launches an Expo dev build directly to a Metro dev server, bypassing the Dev Launcher's server-picker screen. Requires adb_reverse tcp:8081 for device connectivity.
Instructions
Launch an Expo dev build straight at a Metro dev server, skipping the Dev Launcher's server-picker screen. Builds the "://expo-development-client/?url=http://host:port" deep link and opens it. Pass scheme (your app.json "scheme"); host/port default to localhost:8081. PREREQUISITE: run adb_reverse tcp:8081 first so the device can reach Metro, otherwise the dev client falls back to its embedded bundle. For plain Expo Go (not a dev build) use open_url with the exp:// URL instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Metro dev-server host as the DEVICE sees it. Default localhost (works once adb_reverse tcp:8081 is set). | |
| port | No | Metro dev-server port. Default 8081. | |
| scheme | Yes | The app's URL scheme from app.json (e.g. "myapp") — used to build the expo-development-client deep link. | |
| serial | No | Target device serial (adb -s). Optional when exactly one device is attached. | |
| package | No | Optional package to target the intent at (disambiguates if multiple apps claim the scheme). |