Skip to content

chore: add expo-device-hub dev tools plugin - #148

Merged
HugoPerard merged 4 commits into
mainfrom
cursor/add-expo-device-hub-8e97
Oct 27, 2026
Merged

HugoPerard merged 4 commits into
mainfrom
cursor/add-expo-device-hub-8e97

Conversation

@HugoPerard

@HugoPerard HugoPerard commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

Summary

Adds expo-device-hub as a dev-only Expo DevTools plugin so simulators and emulators can be streamed and controlled from the browser during local development.

Changes

  • Add expo-device-hub@0.18.0 to devDependencies (installed via pnpm exec expo install expo-device-hub -- -D, exact pin).
  • Document usage in the README Devtools section (pnpm dev:client / expo start, terminal URL, standalone CLI, platform requirements).

Lockfile size

The pnpm-lock.yaml diff is large mainly because adding expo-device-hub pulls in a new dependency subtree, and pnpm also normalizes many existing lockfile entries (dropping the (supports-color@8.1.1) peer suffix on ~190 packages). No intentional version bumps to existing app dependencies.

Notes

  • Native app impact: None. The package’s expo-module.config.json only registers the devtools platform (no iOS/Android config plugin). It is not linked into release builds.
  • pnpm minimumReleaseAge: No extra excludes were required; expo-device-hub is already covered by the existing expo-* pattern in pnpm-workspace.yaml.
  • Host-only deps: node-datachannel (pulled by expo-device-hub’s serve-emu path) is not part of the React Native binary; pnpm does not run its install script by default, and Device Hub can fetch the prebuilt N-API binary on first Android WebRTC use.

Verification

  • pnpm install --frozen-lockfile
  • pnpm lint:ts
  • pnpm lint
  • expo start prints an Expo Device Hub URL (e.g. http://<dev-server-host>:8081/_expo/plugins/expo-device-hub).
Open in WebΒ Open in CursorΒ 

Install expo-device-hub 0.18.0 as a devDependency and document how to
open Device Hub during local development.

Co-authored-by: prdHugo <HugoPerard@users.noreply.github.com>
@github-actions

github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

πŸš€ Expo preview is ready!

  • Project β†’ start-ui-native-v9iizxkbojzedvpfkfzcq
  • Platforms β†’ android, ios
  • Scheme β†’ start-ui-native
Android
(6ee39678e141dd5902ff0eb18bcda0ff349473b6)
More info
iOS
(c2ef455ae413197060d9b4fcd74fc85a95816e9c)
More info

Learn more about 𝝠 Expo Github Action

cursoragent and others added 3 commits October 26, 2026 10:34
pnpm allowBuilds for node-datachannel so prebuild-install fetches the N-API
binary at install time. Clarify README URL/host and Android SDK tools.

Co-authored-by: prdHugo <HugoPerard@users.noreply.github.com>
Rely on Device Hub lazy prebuild-install on first Android WebRTC use;
pnpm default already blocks the install script.

Co-authored-by: prdHugo <HugoPerard@users.noreply.github.com>
@HugoPerard
HugoPerard merged commit 1a9160a into main Oct 27, 2026
3 checks passed
@HugoPerard
HugoPerard deleted the cursor/add-expo-device-hub-8e97 branch October 27, 2026 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants