|
| 1 | +# Mobile Dev for Antigravity |
| 2 | + |
| 3 | +Build, run, and debug iOS and Android apps without leaving Antigravity. Mobile Dev |
| 4 | +streams your simulators, emulators, and devices into an Antigravity Auxiliary Pane |
| 5 | +(`mobile-dev.device-panel`) beside the chat, and gives Antigravity the tools to |
| 6 | +control them, read their logs, inspect your app, and measure its performance. It |
| 7 | +works with Expo, React Native, SwiftUI, and other native mobile projects. |
| 8 | + |
| 9 | +- **Auxiliary Pane device panel:** a live, interactive iOS simulator, Android |
| 10 | + emulator, or connected device in the Antigravity side pane, with logs and |
| 11 | + performance tools beside it. Antigravity reads the devices you select there and the |
| 12 | + logs, screenshots, and notes you add to chat. |
| 13 | +- **Device control and inspection:** Antigravity taps, types, scrolls, reads the |
| 14 | + accessibility tree, and takes screenshots through the bundled |
| 15 | + [agent-device](https://agent-device.dev/) runtime. |
| 16 | +- **App control:** install, launch, and stop apps, open deep links, send test pushes, |
| 17 | + and set permissions and languages. |
| 18 | +- **App Flow:** a visual map of your app's screens and the navigation between them, |
| 19 | + read from your Expo Router or React Navigation source and optionally captured by |
| 20 | + walking the app on an iOS simulator. |
| 21 | +- **Logs:** iOS unified logs, Android logcat, physical iPhone logs, and Metro console |
| 22 | + messages. |
| 23 | +- **Performance:** CPU, memory, and FPS recordings shown as interactive charts in |
| 24 | + chat, which Antigravity can analyze and compare. |
| 25 | +- **App storage:** read what your app saved, such as UserDefaults, SharedPreferences, |
| 26 | + AsyncStorage, MMKV, and SQLite, without adding code to it. |
| 27 | +- **Profile analysis:** TraceSift findings for local CPU and React profiles. |
| 28 | + |
| 29 | +## Install |
| 30 | + |
| 31 | +Install directly from the `release/antigravity` branch with the `agy` CLI: |
| 32 | + |
| 33 | +```sh |
| 34 | +agy plugin install https://github.com/callstackincubator/codex-mobile-dev-plugin/tree/release/antigravity/mobile-dev |
| 35 | +``` |
| 36 | + |
| 37 | +Or package and install from a local checkout: |
| 38 | + |
| 39 | +```sh |
| 40 | +npm run build |
| 41 | +npm run package:antigravity |
| 42 | +agy plugin install ./release/antigravity-plugin/mobile-dev |
| 43 | +``` |
| 44 | + |
| 45 | +Open the **Mobile Dev** icon in the Antigravity activity bar (Auxiliary Pane) or ask |
| 46 | +Antigravity to open your app on a simulator. |
| 47 | + |
| 48 | +## Requirements |
| 49 | + |
| 50 | +- An Apple Silicon Mac. |
| 51 | +- **Node.js 22.19 or later.** Mobile Dev looks for it on `PATH` and in the usual |
| 52 | + Homebrew, nvm, fnm, Nix, Volta, mise, and asdf locations. |
| 53 | +- **iOS:** Xcode 26 or later with an installed simulator runtime. Physical iPhone |
| 54 | + logs need Xcode 27 or later. |
| 55 | +- **Android:** Android SDK platform-tools and emulator, and an AVD or a device with |
| 56 | + USB or wireless debugging authorized. |
| 57 | + |
| 58 | +## License |
| 59 | + |
| 60 | +MIT. See [LICENSE](LICENSE) and [third-party notices](THIRD_PARTY_NOTICES.md). |
0 commit comments