expo-device-hub
v0.2.1
Published
Expo DevTools plugin for managing iOS simulators and Android emulators.
Readme
expo-device-hub
Expo Device Hub is an Expo DevTools plugin
that lets you preview and control your iOS simulators and Android emulators right from
the browser — without leaving your development workflow. When you run expo start, the
Hub adds a device dashboard where you can watch a live stream of any device, interact
with it, and manage which devices are running from one place.
Features
- Live stream of iOS simulators and Android emulators in your browser.
- Interact directly — tap, swipe, scroll, and type into the device.
- Boot, shut down, and add devices without opening Xcode or Android Studio.
- Follows your system light/dark theme, and can flip the device's appearance too.
iOS simulators require macOS with Xcode. Android emulators require the Android SDK (
emulator,adb).
Installation
Using the Hub inside an Expo app requires Expo SDK 57 or newer.
npx expo install expo-device-hubUsage
Start your project as usual:
npx expo startExpo Device Hub registers itself as a DevTools plugin, so a link to it appears in your terminal when the dev server starts:
› Expo Device Hub: http://localhost:8081/_expo/plugins/expo-device-hubCLI
The Hub also runs outside of expo start as a standalone server — useful when you want
the device dashboard without a running Expo project:
npx expo-device-hubAcknowledgements
Device streaming and control are powered by two vendored, Apache-2.0-licensed dependencies, bundled from Expo's forks. Each fork's license travels with the vendored code:
@expo/serve-sim— iOS simulator streaming and input; a fork of EvanBacon/serve-sim. License:vendor/serve-sim/LICENSE.@expo/serve-emu— Android emulator streaming and input; a fork of jiunshinn/serve-emu. License:vendor/serve-emu/LICENSE.
License
MIT — see LICENSE.
Bundled dependencies keep their own licenses under vendor/; see
Acknowledgements above.
