r/reactnative • u/Fresh-Wealth4531 • 16h ago
[Experiment] Controlling an iOS Simulator from an Android phone
Hey r/reactnative,
I've been experimenting with something new lately.
The idea is to control an iOS Simulator running on my Mac directly from an Android phone's browser.
You just scan a QR code, connect over Wi-Fi, and the simulator shows up on your phone. No extra app installation needed.
I've got the first version working at around 30–40 FPS. Still figuring out how to push it closer to 60 FPS and make the experience smoother.
Here's a quick look at where it's at.
I'm curious, would you find something like this useful in your React Native workflow?
2
u/Mdo991 16h ago
Does it also support bluetooth connect?
2
u/mikebld 13h ago
t3 code lets you do this easily
1
u/dawedev 13h ago
What are you sending right now, JPEG frames over a websocket? That tends to top out around where you are. Hardware H.264 from VideoToolbox over WebRTC is the usual way past it, and if you capture with ScreenCaptureKit you only get frames when the window actually changes, so idle screens cost almost nothing.
1
u/frozenDiesel 14h ago
How did you do this? Is possible gimmie ur workflow