Skip to content

[menu-bar] Add Simulator camera MVP - #369

Open
expo-tuft[bot] wants to merge 3 commits into
mainfrom
tuft/1787169111.564349/orbit-bd4a7cb8
Open

expo-tuft[bot] wants to merge 3 commits into
mainfrom
tuft/1787169111.564349/orbit-bd4a7cb8

Conversation

@expo-tuft

@expo-tuft expo-tuft Bot commented Aug 19, 2026

Copy link
Copy Markdown

Summary

  • add an opt-in Simulator Camera window to Orbit for macOS
  • install a reversible LLDB hook that injects a universal iOS Simulator dylib
  • expose a fake AVFoundation camera and deliver Mac camera frames through a double-buffered mmap transport
  • support AVCaptureVideoPreviewLayer and AVCaptureVideoDataOutput in the first iteration

Verification

  • yarn workspace orbit typecheck
  • focused ESLint checks
  • yarn test:simulator-camera
  • existing parseUrl Jest suite (19 tests)
  • Debug macOS workspace build
  • injected iPhone Simulator smoke app: fake device/session discovery and shared BGRA frame callback both pass

Current scope

Photo capture, movie recording, metadata output, and UIImagePickerController interception are intentionally left for follow-up.

Co-authored-by: gabrieldonadel <11707729+gabrieldonadel@users.noreply.github.com>
@expo-tuft
expo-tuft Bot requested a review from gabrieldonadel as a code owner August 19, 2026 20:18
Co-authored-by: gabrieldonadel <11707729+gabrieldonadel@users.noreply.github.com>
Comment thread apps/menu-bar/src/popover/Footer.tsx Outdated
Comment on lines +18 to +24
{Platform.OS === 'macos' && (
<Item
onPress={() => WindowsNavigator.open('SimulatorCamera')}
testID="simulator-camera-button">
<Text>Simulator Camera…</Text>
</Item>
)}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should live inside the Settings screen

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved the Simulator Camera controls into the macOS Settings screen and removed the separate popover item/window in 17804e3.

Co-authored-by: gabrieldonadel <11707729+gabrieldonadel@users.noreply.github.com>

This branch has not been deployed

No deployments
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.

1 participant