Practical overview
When it fits
Use MobileCode when developing a supported mobile project and you want device preview integrated with the coding session, particularly for the documented React Native build-and-run flow.
Who it is for
- Developers using an AI coding agent to work on iOS or Android projects.
- React Native developers who want to build and inspect apps on iOS or Android virtual devices.
Documented uses
- Build, install and launch a mobile project on a simulator or emulator.
- View a running app's device stream next to the coding session.
- Have the agent run a device build and read its error and log tail.
Requirements & limits
The repository identifies MobileCode as open source and MIT-licensed.
- iOS preview requires macOS and Xcode; Android preview requires Android SDK platform-tools and an AVD.
- Android builds need a JDK supported by the project's Gradle version.
- The React Native workflow shares one Metro server across platforms, and Metro's port may need to be freed when switching JavaScript projects.
- The agent's device_run tool can run builds and read errors and log tails.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Run a React Native project on a virtual device
Build, install, launch and preview the current project on iOS or Android.
Before you start
- A React Native project opened in a MobileCode session.
- For iOS: macOS with Xcode; serve-sim requires Node 20 or newer.
- For Android: Android SDK platform-tools, at least one AVD, and a JDK supported by the project's Gradle version.
Steps
Open the project session; MobileCode detects supported mobile projects and opens the device pane.
Choose the iOS or Android platform's Play control.
For Expo or React Native projects, MobileCode starts Metro when needed and generates the native project with expo prebuild when required.
MobileCode builds the app, installs and launches it on the selected virtual device, then shows its stream in the device pane.
Expected outcome
The app runs on the selected simulator or emulator with a live device preview alongside the coding session.
Guide limitations
- The two platform runs are independent; starting a run replaces only the previous run on that platform.
- Metro uses a shared port. Stop another project's Metro explicitly if it occupies the port before running a different JavaScript project.
Compare options for AI coding assistance
These projects document a common task and share a project role. This is a source-based comparison, not an execution benchmark or a guarantee of interchangeability.
| Project | Documented purpose | Platform | Access and requirements |
|---|---|---|---|
| Mobilecode | Build, install and launch a mobile project on a simulator or emulator. | macOS, Windows, Linux, iOS, Android | The repository identifies MobileCode as open source and MIT-licensed. |
| Ouijit | Run multiple coding-agent tasks in separate repository worktrees and terminals. | macOS, Linux, Desktop, Self-hosted | The project describes Ouijit as free and open source, and its about page says no account or sign-in is needed. The documented desktop platforms are macOS 13 or later and Linux x64. |
| Sortie AI | Select tracker issues for agent work using a configured workflow. | macOS, Linux, Windows, Docker, Self-hosted, Server | The project describes Sortie as free and open-source under Apache-2.0, with no registration for using Sortie itself. Configured trackers and agents may require their own credentials. |
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 28 November 2026
- Original website title
- hsandhu/mobilecode · Official homepage title · retained in its source language

